com php-src: Mark temporary_cleaning_006.phpt as XFAIL: Zend/tests/temporary_cleaning_006.php t
| From: | Nikita Popov | Date: | Fri, 10 Jul 2015 11:33:32 +0000 |
| Subject: | com php-src: Mark temporary_cleaning_006.phpt as XFAIL: Zend/tests/temporary_cleaning_006.php t | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87909@lists.php.net to get a copy of this message | ||
Commit: 725fed49029e4c6a00305173d46be410cfdb59b8
Author: Nikita Popov <nikic@php.net> Fri, 10 Jul 2015 13:33:32 +0200
Parents: bd72fdca98d093f5a905d86cbe1ab5f89b36d62d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=725fed49029e4c6a00305173d46be410cfdb59b8
Log:
Mark temporary_cleaning_006.phpt as XFAIL
And adjust it to fail even with opcode.
Changed paths:
M Zend/tests/temporary_cleaning_006.phpt
Diff:
diff --git a/Zend/tests/temporary_cleaning_006.phpt b/Zend/tests/temporary_cleaning_006.phpt
index 758260d..435e7b1 100644
--- a/Zend/tests/temporary_cleaning_006.phpt
+++ b/Zend/tests/temporary_cleaning_006.phpt
@@ -1,14 +1,16 @@
--TEST--
Exception after separation during indirect write to fcall result
+--XFAIL--
+See Bug #62210 and attempt to fix it in "tmp_livelibess" branch
--FILE--
<?php
function throwing() { throw new Exception; }
-function getArray() { return [0]; }
+function getArray($x) { return [$x]; }
try {
- getArray()[throwing()] = 1;
+ getArray(0)[throwing()] = 1;
} catch (Exception $e) {
echo "Exception\n";
}