Skip to content

Commit 320d06d

Browse files
committed
Merged pull request xdebug#603
2 parents b9f3c6f + 740d769 commit 320d06d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/lib/var.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ char* xdebug_error_type(int type)
180180
zval *xdebug_get_zval_with_opline(zend_execute_data *zdata, const zend_op *opline, int node_type, const znode_op *node, int *is_var)
181181
{
182182
#if PHP_VERSION_ID >= 80000
183-
return zend_get_zval_ptr(opline, node_type, node, zdata, BP_VAR_IS);
183+
return zend_get_zval_ptr(opline, node_type, node, zdata);
184184
#else
185185
zend_free_op should_free;
186186

tests/coverage/bug00422.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ try {
1515
echo "END";
1616
?>
1717
--EXPECTF--
18-
syntax error, unexpected 'new' (T_NEW)
18+
syntax error, unexpected%Snew%S
1919
END

tests/debugger/bug00990-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $commands = array(
2020

2121
dbgpRunFile( $filename, $commands );
2222
?>
23-
--EXPECT--
23+
--EXPECTF--
2424
<?xml version="1.0" encoding="iso-8859-1"?>
2525
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://bug00990-002.inc" language="PHP" xdebug:language_version="" protocol_version="1.0" appid=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
2626

@@ -38,7 +38,7 @@ dbgpRunFile( $filename, $commands );
3838

3939
-> step_into -i 4
4040
<?xml version="1.0" encoding="iso-8859-1"?>
41-
<notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file://bug00990-002.inc" lineno="3" type="Fatal error"><![CDATA[Uncaught Error: Class 'MyClass' not found]]></xdebug:message></notify>
41+
<notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file://bug00990-002.inc" lineno="3" type="Fatal error"><![CDATA[Uncaught Error: Class %cMyClass%c not found]]></xdebug:message></notify>
4242

4343
<?xml version="1.0" encoding="iso-8859-1"?>
4444
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="4" status="stopping" reason="ok"></response>

tests/debugger/bug00990-003.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $commands = array(
2020

2121
dbgpRunFile( $filename, $commands );
2222
?>
23-
--EXPECT--
23+
--EXPECTF--
2424
<?xml version="1.0" encoding="iso-8859-1"?>
2525
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://bug00990-003.inc" language="PHP" xdebug:language_version="" protocol_version="1.0" appid=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
2626

@@ -38,7 +38,7 @@ dbgpRunFile( $filename, $commands );
3838

3939
-> step_into -i 4
4040
<?xml version="1.0" encoding="iso-8859-1"?>
41-
<notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file://bug00990-003.inc" lineno="3" type="Fatal error"><![CDATA[Uncaught Error: Class 'MyClass' not found]]></xdebug:message></notify>
41+
<notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file://bug00990-003.inc" lineno="3" type="Fatal error"><![CDATA[Uncaught Error: Class %cMyClass%c not found]]></xdebug:message></notify>
4242

4343
<?xml version="1.0" encoding="iso-8859-1"?>
4444
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="4" status="stopping" reason="ok"></response>

tests/develop/bug01288.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ React_Exception: waa in %sbug01288.php on line 12
2929

3030
Call Stack:
3131
%w%f %w%d 1. {main}() %sbug01288.php:0
32-
%w%f %w%d 2. {closure:%sbug01288.php:12-12}(8, 'Undefined index: SERVER_PROTOCOL', '%sbug01288.php', %s) %sbug01288.php:15
32+
%w%f %w%d 2. {closure:%sbug01288.php:12-12}(8, 'Undefined %SSERVER_PROTOCOL%S', '%sbug01288.php', %s) %sbug01288.php:15

0 commit comments

Comments
 (0)