]> granicus.if.org Git - php/commitdiff
Fix phpdbg test with JIT
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 18 May 2020 13:25:24 +0000 (15:25 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 18 May 2020 13:25:24 +0000 (15:25 +0200)
With JIT one extra cache slot is allocated, so the extended_value
needs one more character, and the output ends up having one space
less...

sapi/phpdbg/tests/exceptions_003.phpt

index 16920870c3ce2b2082edfe6089436248d077bc1a..ee68490df1afa440d556daa0d8d6bcd570e40e6c 100644 (file)
@@ -26,7 +26,7 @@ prompt> [L7 %s ECHO<1>                 "ok\n"
  00009: } catch (Error $e) {
 prompt> ok
 [L7 %s FAST_RET                ~%d                   try-catch(0)                             %s]
-[L9 %s CATCH<%d>                "Error"                                   $e                   %s]
+[L9 %s CATCH<%d> %s "Error"                                   $e                   %s]
 >00005:                x();
  00006:        } finally {
  00007:                print "ok\n";