xdebug trace file parser

xdebug_trace_preview

When I am trying to optimize my PHP code, one of my prefered tools is xdebug. It provides me with excellent error messages, outputs code tracing files & insight into memory usage.

By using kcachegrind or webgrind – wincachegrind crashes *all* the time – to parse the cachegrind files created by xdebug, you get a good idea of what your code is doing most of the time. It’ll show you which functions are called, by who, which arguments are passed and tons more. Check it out.

Now, there was one small thing I couldn’t find anywhere. A program to parse the trace files that xdebug generates. True, xdebug already provides the option to output this information into HTML, but it’s not really what I was looking for. I want to get quick information in the blink of an eye! That’s why I have created my own trace file parser, based on PHP of course.

Read more »

xampp mysqli crashes apache

Is your XAMPP installation crashing apache when using the mysqli PHP functions on windows? The apache logs are not telling anything even when you have debug mode enabled? Are you getting something like “Faulting application apache.exe, version 2.2.11.0, faulting module ntdll.dll” or “Faulting application apache.exe, version 2.2.11.0, faulting module MSVCR71.dll.” ?

Really? Sure? Well here’s your solution…

Download the most recent version of php_mysqli.dll and place it in <yourxampdir>\php\ext directory.You might want to take a backup of the file you’re replacing in case it doesn’t work…

You can download the php_mysqli.dll righ here or you’ll have to find a recent version for your PHP version yourself.

NameCheap Discount Coupons

namecheap
Woo! Get cheaper domains and hosting this month, at namecheap. Use the coupon codes below while submitting your order.

  1. GETNCVPS: Save 10% on all VPS packages
  2. HOSTING4U: Save 10% on shared hosting plans
  3. GETMECHEAPER: Save 88 cents on most domain TLD extensions

Sarcasma, programmer medications

Sarcasma

http://www.sarcasma.net/sarcasma_002.htm

Fun With Fake Facebook Accounts

Here’s the chat log of my fake facebook account with another fake facebook account… read carefully ;) Anna is the scammer, Jessie is me… Of course I changed the names!

anna

Anna
hun
hi

10:59pm Jessie
mmmmm

11:14pm Jessie
hihi…

10:59pm Anna
how are you

10:59pm Jessie
how’s my little porn star

10:59pm Anna
aaaaaaaaaaaaaah
do you like me

Read more »

« Older Entries

Newer Entries »

Archives

Twitter!