1*c29d5175SchristosFollowing are examples of running php_malloc.d. 2*c29d5175Schristos 3*c29d5175SchristosHere it is running on Code/Php/func_abc.php 4*c29d5175Schristos 5*c29d5175Schristos # php_malloc.d -p 18523 6*c29d5175Schristos Tracing... Hit Ctrl-C to end. 7*c29d5175Schristos ^C 8*c29d5175Schristos 9*c29d5175Schristos PHP malloc byte distributions by engine caller, 10*c29d5175Schristos 11*c29d5175Schristos 12*c29d5175Schristos PHP malloc byte distributions by PHP file and function, 13*c29d5175Schristos 14*c29d5175Schristos 15*c29d5175SchristosTheoretically this should show you mallocs. However there weren't any in this 16*c29d5175Schristosexample. The rest of these example files would have been so much easier to 17*c29d5175Schristoswrite if they were all like this. I would have been finished by now and would 18*c29d5175Schristoshave been flicking through the TV channels with a nice, cold beer in hand. 19*c29d5175Schristos 20*c29d5175Schristos 21*c29d5175Schristos... Fixing this example is on my todo list. Check for newer versions of the 22*c29d5175Schristostoolkit. 23*c29d5175Schristos 24