Test: /sapi/phpdbg/tests/print_001.phpt - Version 7.3.4    

There are 2 different diffs reported by users for this test.

Count Diff
5 (71%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [User Function foo (8 ops)]
003- L14-16 foo() %s - %s + 8 ops
004- L14 #0 RECV 1 $baz
005- L15 #1 INIT_FCALL%s %d %s "var_dump"
006- L15 #2 INIT_FCALL%s %d %s "strrev"
007- L15 #3 SEND_VAR $baz 1
008- L15 #4 DO_%cCALL @0
009- L15 #5 SEND_VAR @0 1
010- L15 #6 DO_%cCALL
011- L16 #7 RETURN<-1> null
012- prompt> [User Class: Foo\Bar (2 methods)]
013- L5-7 Foo\Bar::Foo() %s - %s + 5 ops
014- L5 #0 RECV 1 $bar
015- L6 #1 INIT_NS_FCALL_BY_NAME<1> "Foo\\var_dump"
016- L6 #2 SEND_VAR_EX $bar 1
017- L6 #3 DO_FCALL
018- L7 #4 RETURN<-1> null
019- L9-9 Foo\Bar::baz() %s - %s + 1 ops
020- L9 #0 RETURN<-1> null
021- prompt> [Not Executing!]
022- prompt> [Context %s (11 ops)]
023- L1-21 {main}() %s - %s + 11 ops
024- L4 #0 NOP
025- L14 #1 NOP
026- L18 #2 NEW "Foo\\Bar" @1
027- L18 #3 DO_FCALL
028- L18 #4 INIT_METHOD_CALL<1> @1 "Foo"
029- L18 #5 SEND_VAL_EX "test" 1
030- L18 #6 DO_FCALL
031- L19 #7 INIT_FCALL%s %d %s "foo"
032- L19 #8 SEND_VAL "test" 1
033- L19 #9 DO_FCALL
034- L21 #10 RETURN<-1> 1
035- prompt>
2 (29%)
001+
001- [Successful compilation of %s]
002- prompt> [User Function foo (8 ops)]
003- L14-16 foo() %s - %s + 8 ops
004- L14 #0 RECV 1 $baz
005- L15 #1 INIT_FCALL%s %d %s "var_dump"
006- L15 #2 INIT_FCALL%s %d %s "strrev"
007- L15 #3 SEND_VAR $baz 1
008- L15 #4 DO_%cCALL @0
009- L15 #5 SEND_VAR @0 1
010- L15 #6 DO_%cCALL
011- L16 #7 RETURN<-1> null
012- prompt> [User Class: Foo\Bar (2 methods)]
013- L5-7 Foo\Bar::Foo() %s - %s + 5 ops
014- L5 #0 RECV 1 $bar
015- L6 #1 INIT_NS_FCALL_BY_NAME<1> "Foo\\var_dump"
016- L6 #2 SEND_VAR_EX $bar 1
017- L6 #3 DO_FCALL
018- L7 #4 RETURN<-1> null
019- L9-9 Foo\Bar::baz() %s - %s + 1 ops
020- L9 #0 RETURN<-1> null
021- prompt> [Not Executing!]
022- prompt> [Context %s (11 ops)]
023- L1-21 {main}() %s - %s + 11 ops
024- L4 #0 NOP
025- L14 #1 NOP
026- L18 #2 NEW "Foo\\Bar" @1
027- L18 #3 DO_FCALL
028- L18 #4 INIT_METHOD_CALL<1> @1 "Foo"
029- L18 #5 SEND_VAL_EX "test" 1
030- L18 #6 DO_FCALL
031- L19 #7 INIT_FCALL%s %d %s "foo"
032- L19 #8 SEND_VAL "test" 1
033- L19 #9 DO_FCALL
034- L21 #10 RETURN<-1> 1
035- prompt>