[php-src] PHP-8.2: Fix opcache dump varying tmps

From: Date: Fri, 05 Apr 2024 12:12:45 +0000
Subject: [php-src] PHP-8.2: Fix opcache dump varying tmps
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127946@lists.php.net to get a copy of this message
Author: Ilija Tovilo (iluuu1994) Date: 2024-04-05T14:11:41+02:00 Commit: https://github.com/php/php-src/commit/97162e92be18388078f831a7cc9106a3e42f1c47 Raw diff: https://github.com/php/php-src/commit/97162e92be18388078f831a7cc9106a3e42f1c47.diff Fix opcache dump varying tmps Changed paths: M sapi/phpdbg/tests/print_001.phpt M sapi/phpdbg/tests/print_002.phpt Diff: diff --git a/sapi/phpdbg/tests/print_001.phpt b/sapi/phpdbg/tests/print_001.phpt index c25c5178fef4c..f192cb2ae9fcc 100644 --- a/sapi/phpdbg/tests/print_001.phpt +++ b/sapi/phpdbg/tests/print_001.phpt @@ -13,7 +13,7 @@ q prompt> [User Function foo (8 ops)] foo: - ; (lines=8, args=1, vars=1, tmps=2) + ; (lines=8, args=1, vars=1, tmps=%d) ; %s:14-16 L0014 0000 CV0($baz) = RECV 1 L0015 0001 INIT_FCALL %d %d string("var_dump") @@ -26,7 +26,7 @@ L0016 0007 RETURN null prompt> [User Class: Foo\Bar (2 methods)] Foo\Bar::Foo: - ; (lines=5, args=1, vars=1, tmps=1) + ; (lines=5, args=1, vars=1, tmps=%d) ; %s:5-7 L0005 0000 CV0($bar) = RECV 1 L0006 0001 INIT_NS_FCALL_BY_NAME 1 string("Foo\var_dump") @@ -35,14 +35,14 @@ L0006 0003 DO_FCALL L0007 0004 RETURN null Foo\Bar::baz: - ; (lines=1, args=0, vars=0, tmps=0) + ; (lines=1, args=0, vars=0, tmps=%d) ; %s:9-9 L0009 0000 RETURN null prompt> [Not Executing!] prompt> [Context %s (9 ops)] $_main: - ; (lines=9, args=0, vars=0, tmps=4) + ; (lines=9, args=0, vars=0, tmps=%d) ; %s:1-21 L0018 0000 V0 = NEW 0 string("Foo\Bar") L0018 0001 DO_FCALL diff --git a/sapi/phpdbg/tests/print_002.phpt b/sapi/phpdbg/tests/print_002.phpt index 2358b025d1741..3b46fe0c13c72 100644 --- a/sapi/phpdbg/tests/print_002.phpt +++ b/sapi/phpdbg/tests/print_002.phpt @@ -19,7 +19,7 @@ prompt> string(4) "test" prompt> [Stack in foo() (8 ops)] foo: - ; (lines=8, args=1, vars=1, tmps=2) + ; (lines=8, args=1, vars=1, tmps=%d) ; %s:14-16 L0014 0000 CV0($baz) = RECV 1 L0015 0001 INIT_FCALL %d %d string("var_dump")

« previous php.cvs (#127946) next »