com php-src: Fix test due to opcache: Zend/tests/bug43450.phpt
| From: | Xinchen Hui | Date: | Wed, 03 Apr 2013 11:52:09 +0000 |
| Subject: | com php-src: Fix test due to opcache: Zend/tests/bug43450.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71845@lists.php.net to get a copy of this message | ||
Commit: 42f94aa9783c72411336dfc39a8b7335cb45854c
Author: Xinchen Hui <laruence@php.net> Wed, 3 Apr 2013 19:52:09 +0800
Parents: bbb4a44f987904846bcdb0ed461f1af8040ef872
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=42f94aa9783c72411336dfc39a8b7335cb45854c
Log:
Fix test due to opcache
Changed paths:
M Zend/tests/bug43450.phpt
Diff:
diff --git a/Zend/tests/bug43450.phpt b/Zend/tests/bug43450.phpt
index 926e146..a94eba3 100644
--- a/Zend/tests/bug43450.phpt
+++ b/Zend/tests/bug43450.phpt
@@ -2,6 +2,8 @@
Bug #43450 (Memory leak on some functions with implicit object __toString() call)
--SKIPIF--
<?php if (!function_exists('memory_get_usage')) die('memory_get_usage() not
installed'); ?>
+--INI--
+opcache..enable_cli=0
--FILE--
<?php
error_reporting(E_ALL|E_STRICT);