Arquivos
hhvm/hphp/test/quick/builtin_extension_SimpleXMLElement.php.expectf
T
Paul Tarjan 6ef9d37225 fix builtin extension tests
In D804289 I scrwed up and needed a ##/g## in my script...
2013-05-21 11:12:06 -07:00

108 linhas
2.0 KiB
Plaintext

SimpleXMLElement
HipHop Warning: SimpleXMLElement::__construct() expects exactly 1 parameter, 0 given in %s/hphp/test/quick/builtin_extensions.inc on line 5
object(SimpleXMLElement)#1 (0) {
}
string(28) "O:16:"SimpleXMLElement":0:{}"
object(SimpleXMLElement)#2 (0) {
}
array(22) {
[0]=>
string(11) "__construct"
[1]=>
string(12) "offsetExists"
[2]=>
string(9) "offsetGet"
[3]=>
string(9) "offsetSet"
[4]=>
string(11) "offsetUnset"
[5]=>
string(11) "getIterator"
[6]=>
string(5) "count"
[7]=>
string(5) "xpath"
[8]=>
string(22) "registerXPathNamespace"
[9]=>
string(5) "asXML"
[10]=>
string(13) "getNamespaces"
[11]=>
string(16) "getDocNamespaces"
[12]=>
string(8) "children"
[13]=>
string(7) "getName"
[14]=>
string(10) "attributes"
[15]=>
string(8) "addChild"
[16]=>
string(12) "addAttribute"
[17]=>
string(10) "__toString"
[18]=>
string(5) "__get"
[19]=>
string(5) "__set"
[20]=>
string(7) "__isset"
[21]=>
string(7) "__unset"
}
================
A_SimpleXMLElement
HipHop Warning: SimpleXMLElement::__construct() expects exactly 1 parameter, 0 given in %s/hphp/test/quick/builtin_extensions.inc on line 26
object(A_SimpleXMLElement)#3 (0) {
}
string(30) "O:18:"A_SimpleXMLElement":0:{}"
object(A_SimpleXMLElement)#4 (0) {
}
array(22) {
[0]=>
string(11) "__construct"
[1]=>
string(12) "offsetExists"
[2]=>
string(9) "offsetGet"
[3]=>
string(9) "offsetSet"
[4]=>
string(11) "offsetUnset"
[5]=>
string(11) "getIterator"
[6]=>
string(5) "count"
[7]=>
string(5) "xpath"
[8]=>
string(22) "registerXPathNamespace"
[9]=>
string(5) "asXML"
[10]=>
string(13) "getNamespaces"
[11]=>
string(16) "getDocNamespaces"
[12]=>
string(8) "children"
[13]=>
string(7) "getName"
[14]=>
string(10) "attributes"
[15]=>
string(8) "addChild"
[16]=>
string(12) "addAttribute"
[17]=>
string(10) "__toString"
[18]=>
string(5) "__get"
[19]=>
string(5) "__set"
[20]=>
string(7) "__isset"
[21]=>
string(7) "__unset"
}