==3704== Memcheck, a memory error detector ==3704== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==3704== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info ==3704== Command: php t.php ==3704== ==3704== Invalid read of size 8 ==3704== at 0x939CF61: xdebug_lib_register_compiled_variables (lib.c:754) ==3704== by 0x93AD018: register_compiled_variables (debugger.c:121) ==3704== by 0x93AD91A: xdebug_debugger_error_cb (debugger.c:452) ==3704== by 0x93960D9: xdebug_error_cb (base.c:1387) ==3704== by 0x2090D8: zend_error_zstr_at (in /usr/bin/php) ==3704== by 0x209492: ??? (in /usr/bin/php) ==3704== by 0x209677: zend_error (in /usr/bin/php) ==3704== by 0x20A05D: ??? (in /usr/bin/php) ==3704== by 0x20AA86: ??? (in /usr/bin/php) ==3704== by 0x2C199B: ??? (in /usr/bin/php) ==3704== by 0x9398114: xdebug_execute_internal (base.c:952) ==3704== by 0x20C340: ??? (in /usr/bin/php) ==3704== Address 0xee259f8 is 104 bytes inside a block of size 240 free'd ==3704== at 0x4C3AA93: free (vg_replace_malloc.c:872) ==3704== by 0x417E22: ??? (in /usr/bin/php) ==3704== by 0x444B93: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x20C57C: ??? (in /usr/bin/php) ==3704== by 0x444BDB: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x44E19B: zend_execute (in /usr/bin/php) ==3704== by 0x3DD7D4: zend_execute_scripts (in /usr/bin/php) ==3704== by 0x3788C9: php_execute_script (in /usr/bin/php) ==3704== by 0x4C6C50: ??? (in /usr/bin/php) ==3704== by 0x225F52: ??? (in /usr/bin/php) ==3704== Block was alloc'd at ==3704== at 0x4C38135: malloc (vg_replace_malloc.c:381) ==3704== by 0x3B0BDC: __zend_malloc (in /usr/bin/php) ==3704== by 0x3B5BC2: _ecalloc (in /usr/bin/php) ==3704== by 0x46DEF2: zend_get_call_trampoline_func (in /usr/bin/php) ==3704== by 0x46E145: zend_std_get_method (in /usr/bin/php) ==3704== by 0x41A18A: ??? (in /usr/bin/php) ==3704== by 0x444BDB: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x44E19B: zend_execute (in /usr/bin/php) ==3704== by 0x3DD7D4: zend_execute_scripts (in /usr/bin/php) ==3704== by 0x3788C9: php_execute_script (in /usr/bin/php) ==3704== by 0x4C6C50: ??? (in /usr/bin/php) ==3704== ==3704== Invalid read of size 1 ==3704== at 0x939770F: xdebug_execute_ex (base.c:849) ==3704== by 0x20C57C: ??? (in /usr/bin/php) ==3704== by 0x444BDB: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x44E19B: zend_execute (in /usr/bin/php) ==3704== by 0x3DD7D4: zend_execute_scripts (in /usr/bin/php) ==3704== by 0x3788C9: php_execute_script (in /usr/bin/php) ==3704== by 0x4C6C50: ??? (in /usr/bin/php) ==3704== by 0x225F52: ??? (in /usr/bin/php) ==3704== by 0x7F57D84: (below main) (in /usr/lib64/libc-2.28.so) ==3704== Address 0xee25997 is 7 bytes inside a block of size 240 free'd ==3704== at 0x4C3AA93: free (vg_replace_malloc.c:872) ==3704== by 0x417E22: ??? (in /usr/bin/php) ==3704== by 0x444B93: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x20C57C: ??? (in /usr/bin/php) ==3704== by 0x444BDB: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x44E19B: zend_execute (in /usr/bin/php) ==3704== by 0x3DD7D4: zend_execute_scripts (in /usr/bin/php) ==3704== by 0x3788C9: php_execute_script (in /usr/bin/php) ==3704== by 0x4C6C50: ??? (in /usr/bin/php) ==3704== by 0x225F52: ??? (in /usr/bin/php) ==3704== Block was alloc'd at ==3704== at 0x4C38135: malloc (vg_replace_malloc.c:381) ==3704== by 0x3B0BDC: __zend_malloc (in /usr/bin/php) ==3704== by 0x3B5BC2: _ecalloc (in /usr/bin/php) ==3704== by 0x46DEF2: zend_get_call_trampoline_func (in /usr/bin/php) ==3704== by 0x46E145: zend_std_get_method (in /usr/bin/php) ==3704== by 0x41A18A: ??? (in /usr/bin/php) ==3704== by 0x444BDB: execute_ex (in /usr/bin/php) ==3704== by 0x93976BF: xdebug_execute_ex (base.c:830) ==3704== by 0x44E19B: zend_execute (in /usr/bin/php) ==3704== by 0x3DD7D4: zend_execute_scripts (in /usr/bin/php) ==3704== by 0x3788C9: php_execute_script (in /usr/bin/php) ==3704== by 0x4C6C50: ??? (in /usr/bin/php) ==3704== PHP Fatal error: Uncaught ReflectionException: Class "" does not exist in /t.php:4 Stack trace: #0 /t.php(4): ReflectionClass->__construct() #1 /t.php(20): class@anonymous->execute() #2 /t.php(9): Wrapper->__call() #3 {main} thrown in /t.php on line 4 ==3704== ==3704== HEAP SUMMARY: ==3704== in use at exit: 57,111 bytes in 172 blocks ==3704== total heap usage: 27,277 allocs, 27,105 frees, 3,827,537 bytes allocated ==3704== ==3704== LEAK SUMMARY: ==3704== definitely lost: 0 bytes in 0 blocks ==3704== indirectly lost: 0 bytes in 0 blocks ==3704== possibly lost: 0 bytes in 0 blocks ==3704== still reachable: 57,111 bytes in 172 blocks ==3704== suppressed: 0 bytes in 0 blocks ==3704== Rerun with --leak-check=full to see details of leaked memory ==3704== ==3704== For lists of detected and suppressed errors, rerun with: -s ==3704== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)