File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 8
8
. Fixed bug #73876 (Crash when exporting **= in expansion of assign op).
9
9
(Sara)
10
10
11
+ - Dom:
12
+ . Fixed bug #61858 (DOMAttr debug info generates E_WARNING). (Arnout Boks)
13
+
11
14
- GD:
12
15
. Fixed bug #73893 (A hidden danger of death cycle in a function of gd). (cmb)
13
16
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ Since: DOM Level 3
213
213
*/
214
214
int dom_attr_schema_type_info_read (dom_object * obj , zval * retval )
215
215
{
216
- php_error_docref ( NULL , E_WARNING , "Not yet implemented" );
216
+ /* TODO */
217
217
ZVAL_NULL (retval );
218
218
return SUCCESS ;
219
219
}
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ Bug #61858 DOMAttr debug info generates E_WARNING
3
+ --SKIPIF--
4
+ <?php
5
+ require_once ('skipif.inc ' );
6
+ ?>
7
+ --FILE--
8
+ <?php
9
+ $ doc = new DOMDocument ();
10
+ $ doc ->loadXML ('<example a="b">Test</example> ' );
11
+
12
+ $ example = $ doc ->getElementsByTagName ('example ' )->item (0 );
13
+ $ attr = $ example ->getAttributeNode ('a ' );
14
+
15
+ var_dump ($ attr );
16
+ print_r ($ attr );
17
+ --EXPECTF --
18
+ object (DOMAttr)#%d (%d) {
19
+ %A
20
+ }
21
+ DOMAttr Object
22
+ (
23
+ %A
24
+ )
Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ object(DOMException)#%d (7) {
61
61
["args"]=>
62
62
array(1) {
63
63
[0]=>
64
-
65
- Warning: var_dump(): %s
66
- DOMAttr
64
+ DOMAttr
67
65
}
68
66
}
69
67
}
You can’t perform that action at this time.
0 commit comments