rendered paste body[root@urano filter_ptBR]# valgrind -v php foo.php
==2726== Memcheck, a memory error detector.
==2726== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==2726== Using LibVEX rev 1471, a library for dynamic binary translation.
==2726== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==2726== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
==2726== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==2726==
--2726-- Command line
--2726-- php
--2726-- foo.php
--2726-- Startup, with flags:
--2726-- -v
--2726-- Contents of /proc/version:
--2726-- Linux version 2.6.15-1.2054_FC5smp (bhcompile@hs20-bc1-3.build.redhat.com) (gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)) #1 SMP Tue Mar 14 16:05:46 EST 2006
--2726-- Arch and subarch: X86, x86-sse2
--2726-- Valgrind library directory: /usr/lib/valgrind
--2726-- Reading syms from /lib/ld-2.4.so (0x449000)
--2726-- Reading syms from /usr/local/bin/php (0x8048000)
--2726-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0xB0000000)
--2726-- object doesn't have a dynamic symbol table
--2726-- Reading suppressions file: /usr/lib/valgrind/default.supp
--2726-- REDIR: 0x45DB90 (index) redirected to 0xB00212A2 (vgPlain_x86_linux_REDIR_FOR_index)
--2726-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--2726-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
--2726-- Reading syms from /lib/libcrypt-2.4.so (0x5052000)
--2726-- Reading syms from /lib/libresolv-2.4.so (0x5B4000)
--2726-- Reading syms from /lib/libm-2.4.so (0xCD6000)
--2726-- Reading syms from /lib/libdl-2.4.so (0xCFD000)
--2726-- Reading syms from /lib/libnsl-2.4.so (0x466000)
--2726-- Reading syms from /usr/lib/libxml2.so.2.6.23 (0x573D000)
--2726-- object doesn't have a symbol table
--2726-- Reading syms from /usr/lib/libz.so.1.2.3 (0xD03000)
--2726-- object doesn't have a symbol table
--2726-- Reading syms from /lib/libc-2.4.so (0x101000)
--2726-- REDIR: 0x16B360 (rindex) redirected to 0x4005D60 (rindex)
--2726-- REDIR: 0x16C1E0 (memset) redirected to 0x40061C0 (memset)
--2726-- REDIR: 0x16C670 (memcpy) redirected to 0x4006900 (memcpy)
--2726-- REDIR: 0x449820 (_dl_sysinfo_int80) redirected to 0xB002129F (???)
--2726-- REDIR: 0x166914 (calloc) redirected to 0x4004557 (calloc)
--2726-- REDIR: 0x166C08 (malloc) redirected to 0x4005177 (malloc)
--2726-- REDIR: 0x16B1C8 (strncmp) redirected to 0x4005F70 (strncmp)
--2726-- REDIR: 0x16AFE0 (strlen) redirected to 0x4005F10 (strlen)
--2726-- REDIR: 0x16AAB0 (strcmp) redirected to 0x4005FE0 (strcmp)
--2726-- REDIR: 0x16A940 (index) redirected to 0x4005E50 (index)
--2726-- REDIR: 0x16CF60 (strchrnul) redirected to 0x4006260 (strchrnul)
--2726-- REDIR: 0x1683A4 (free) redirected to 0x4004DBF (free)
--2726-- REDIR: 0x16C390 (stpcpy) redirected to 0x4006730 (stpcpy)
--2726-- REDIR: 0x16AB10 (strcpy) redirected to 0x40064B0 (strcpy)
--2726-- REDIR: 0x16CE90 (rawmemchr) redirected to 0x4006290 (rawmemchr)
--2726-- REDIR: 0x168548 (realloc) redirected to 0x400521F (realloc)
--2726-- REDIR: 0x16BCE0 (memchr) redirected to 0x40060A0 (memchr)
X-Powered-By: PHP/5.1.4
Content-type: text/html
Total: 0.1059081554
Total: 0.0056688786
==2726==
==2726== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1)
--2726--
--2726-- supp: 19 Fedora-Core-5-hack2
==2726== malloc/free: in use at exit: 0 bytes in 0 blocks.
==2726== malloc/free: 10,000 allocs, 10,000 frees, 966,477 bytes allocated.
==2726==
==2726== No malloc'd blocks -- no leaks are possible.
--2726-- memcheck: sanity checks: 22 cheap, 1 expensive
--2726-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--2726-- memcheck: auxmaps: 0 searches, 0 comparisons
--2726-- memcheck: secondaries: 46 issued (2944k, 2M)
--2726-- memcheck: secondaries: 82 accessible and distinguished (5248k, 5M)
--2726-- tt/tc: 18,360 tt lookups requiring 19,717 probes
--2726-- tt/tc: 18,360 fast-cache updates, 2 flushes
--2726-- translate: new 8,517 (279,938 -> 3,900,953; ratio 139:10) [0 scs]
--2726-- translate: dumped 0 (0 -> ??)
--2726-- translate: discarded 0 (0 -> ??)
--2726-- scheduler: 1,105,284 jumps (bb entries).
--2726-- scheduler: 22/29,805 major/minor sched events.
--2726-- sanity: 23 cheap, 1 expensive checks.
--2726-- exectx: 30,011 lists, 4,764 contexts (avg 0 per list)
--2726-- exectx: 19,977 searches, 15,556 full compares (778 per 1000)
--2726-- exectx: 0 cmp2, 44 cmp4, 0 cmpAll