- PDO_Sqlite
. Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions (rasmus)
+- PHPDBG
+ . Added extended_value to opcode dump output. (Sara)
+
- posix:
. Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh)
>00005: x();
00006: } finally {
00007: print "ok\n";
-prompt> [L7 %s ECHO "ok\n" %s]
+prompt> [L7 %s ECHO<1> "ok\n" %s]
>00007: print "ok\n";
00008: }
00009: } catch (Error $e) {
prompt> ok
[L7 %s FAST_RET ~%d try-catch(0) %s]
-[L9 %s CATCH "Error" $e 1 %s]
+[L9 %s CATCH<-224> "Error" $e 1 %s]
>00005: x();
00006: } finally {
00007: print "ok\n";
-prompt> [L10 %s ECHO "caught\n" %s]
+prompt> [L10 %s ECHO<1> "caught\n" %s]
>00010: print "caught\n";
00011: }
00012:
prompt> caught
-[L14 %s RETURN 1 %s]
+[L14 %s RETURN<-1> 1 %s]
>00014:
prompt>
--FILE--
00005: }
00006:
prompt> 0
-[L5 %s RETURN null %s]
+[L5 %s RETURN<-1> null %s]
>00005: }
00006:
00007: foo();
>00008: echo 1;
00009:
prompt> 1
-[L9 %s RETURN 1 %s]
+[L9 %s RETURN<-1> 1 %s]
>00009:
prompt>
--FILE--
L15 #4 DO_%cCALL @0
L15 #5 SEND_VAR @0 1
L15 #6 DO_%cCALL
- L16 #7 RETURN null
+ L16 #7 RETURN<-1> null
prompt> [User Class: Foo\Bar (2 methods)]
L5-7 Foo\Bar::Foo() %s - %s + 5 ops
L5 #0 RECV 1 $bar
- L6 #1 INIT_NS_FCALL_BY_NAME "Foo\\var_dump"
+ L6 #1 INIT_NS_FCALL_BY_NAME<1> "Foo\\var_dump"
L6 #2 SEND_VAR_EX $bar 1
L6 #3 DO_FCALL
- L7 #4 RETURN null
+ L7 #4 RETURN<-1> null
L9-9 Foo\Bar::baz() %s - %s + 1 ops
- L9 #0 RETURN null
+ L9 #0 RETURN<-1> null
prompt> [Not Executing!]
prompt> [Context %s (11 ops)]
L1-21 {main}() %s - %s + 11 ops
L14 #1 NOP
L18 #2 NEW "Foo\\Bar" @1
L18 #3 DO_FCALL
- L18 #4 INIT_METHOD_CALL @1 "Foo"
+ L18 #4 INIT_METHOD_CALL<1> @1 "Foo"
L18 #5 SEND_VAL_EX "test" 1
L18 #6 DO_FCALL
L19 #7 INIT_FCALL%s %d %s "foo"
L19 #8 SEND_VAL "test" 1
L19 #9 DO_FCALL
- L21 #10 RETURN 1
+ L21 #10 RETURN<-1> 1
prompt>
--FILE--
<?php
L15 #4 DO_%cCALL @0
L15 #5 SEND_VAR @0 1
L15 #6 DO_%cCALL
- L16 #7 RETURN null
+ L16 #7 RETURN<-1> null
prompt> [L15 %s INIT_FCALL%s %d %s "var_dump" %s]
prompt>
--FILE--
00005: }
00006:
prompt> [L0 %s HANDLE_EXCEPTION %s]
-[L9 %s CATCH "Exception" $e 1 %s]
+[L9 %s CATCH<-128> "Exception" $e 1 %s]
>00008: foo();
00009: } catch (Exception $e) {
00010: echo "ok";
>00011: } finally {
00012: echo " ... ok";
00013: }
-prompt> [L14 %s RETURN 1 %s]
+prompt> [L14 %s RETURN<-1> 1 %s]
>00014:
prompt>
--FILE--