com php-src: Check for memory leaks when not using return value: Zend/tests/methods-on-non-objects-return-unused.phpt
| From: | Tjerk Anne Meesters | Date: | Sun, 06 Jul 2014 15:08:25 +0000 |
| Subject: | com php-src: Check for memory leaks when not using return value: Zend/tests/methods-on-non-objects-return-unused.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82131@lists.php.net to get a copy of this message | ||
Commit: 4a3a566a1798b685b1d5ad1989e0c397faa54c9c
Author: Timm Friebe <thekid@thekid.de> Sun, 6 Jul 2014 17:08:25 +0200
Parents: 9b6062071e5b2b226f23f7138472055a909f4800
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4a3a566a1798b685b1d5ad1989e0c397faa54c9c
Log:
Check for memory leaks when not using return value
Changed paths:
M Zend/tests/methods-on-non-objects-return-unused.phpt
Diff:
diff --git a/Zend/tests/methods-on-non-objects-return-unused.phpt
b/Zend/tests/methods-on-non-objects-return-unused.phpt
index 19703b4..ab2951f 100755
--- a/Zend/tests/methods-on-non-objects-return-unused.phpt
+++ b/Zend/tests/methods-on-non-objects-return-unused..phpt
@@ -1,5 +1,7 @@
--TEST--
Catch method calls on non-objects without using return value
+--INI--
+report_memleaks=1
--FILE--
<?php
set_error_handler(function($code, $message) {