|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2003-11-04 01:00 UTC] sniper@php.net
  [2004-01-09 08:50 UTC] stas@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 03:00:01 2025 UTC | 
Description: ------------ ZE2 will leak when creating an instance of an object which does not actually get assigned to a variable Reproduce code: --------------- php -r 'class foo {} new foo();' Actual result: -------------- /home/john/working/php-src/Zend/zend_execute.c(3098) : Freeing 0x400D9BE0 (44 bytes), script=- /home/john/working/php-src/Zend/zend_API.c(713) : Actual location (location was relayed) /home/john/working/php-src/Zend/zend_API.c(714) : Freeing 0x400D9790 (32 bytes), script=- /home/john/working/php-src/Zend/zend_hash.c(157) : Actual location (location was relayed) /home/john/working/php-src/Zend/zend_execute.c(3097) : Freeing 0x400D9060 (16 bytes), script=- /home/john/working/php-src/Zend/zend_objects.c(106) : Freeing 0x400D9018 (12 bytes), script=- === Total 4 memory leaks detected ===