]> granicus.if.org Git - php/commitdiff
Mark temporary_cleaning_006.phpt as XFAIL
authorNikita Popov <nikic@php.net>
Fri, 10 Jul 2015 11:33:32 +0000 (13:33 +0200)
committerNikita Popov <nikic@php.net>
Fri, 10 Jul 2015 11:33:32 +0000 (13:33 +0200)
And adjust it to fail even with opcode.

Zend/tests/temporary_cleaning_006.phpt

index 758260d55aa348135cdba5c17ba3c688937a2e3e..435e7b12dd082287071e679a9b0329f24241ab85 100644 (file)
@@ -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";
 }