colder@colder-laptop /mnt/storage/git/php-src $ phpvalgrind test.php ==32316== Memcheck, a memory error detector. ==32316== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==32316== Using LibVEX rev 1732, a library for dynamic binary translation. ==32316== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==32316== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==32316== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==32316== For more details, rerun with: -v ==32316== ==32316== Invalid read of size 4 ==32316== at 0x849D4D6: ZEND_FE_FETCH_SPEC_VAR_HANDLER (zend_vm_execute.h:8744) ==32316== by 0x847F046: execute (zend_vm_execute.h:91) ==32316== by 0x8442349: zend_execute_scripts (zend.c:1687) ==32316== by 0x83BC3E6: php_execute_script (main.c:2175) ==32316== by 0x84F69CB: main (php_cli.c:1152) ==32316== Address 0xBEFA99DC is just below the stack ptr. To suppress, use: --workaround-gcc296-bugs=yes ==32316== ==32316== Invalid read of size 4 ==32316== at 0x849D507: ZEND_FE_FETCH_SPEC_VAR_HANDLER (zend_vm_execute.h:8745) ==32316== by 0x847F046: execute (zend_vm_execute.h:91) ==32316== by 0x8442349: zend_execute_scripts (zend.c:1687) ==32316== by 0x83BC3E6: php_execute_script (main.c:2175) ==32316== by 0x84F69CB: main (php_cli.c:1152) ==32316== Address 0xBEFA99DC is just below the stack ptr. To suppress, use: --workaround-gcc296-bugs=yes ==32316== ==32316== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 15 from 4) ==32316== malloc/free: in use at exit: 8,098 bytes in 50 blocks. ==32316== malloc/free: 27,921 allocs, 27,871 frees, 2,835,023 bytes allocated. ==32316== For counts of detected errors, rerun with: -v ==32316== searching for pointers to 50 not-freed blocks. ==32316== checked 892,908 bytes. ==32316== ==32316== LEAK SUMMARY: ==32316== definitely lost: 0 bytes in 0 blocks. ==32316== possibly lost: 0 bytes in 0 blocks. ==32316== still reachable: 8,098 bytes in 50 blocks. ==32316== suppressed: 0 bytes in 0 blocks. ==32316== Reachable blocks (those to which a pointer was found) are not shown. ==32316== To see them, rerun with: --leak-check=full --show-reachable=yes