3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /** * SimpleXMLElement Introspection */ error_reporting(~0); $xml = '<document> <child> give <grandchild a1="v1" a2="v2"> me </grandchild> <grandchild> more </grandchild> sugar. </child> <child> </child> <single/> </document> '; $simple = new SimpleXMLElement($xml); /** * @param SimpleXMLElement $element * @return bool */ function simplexml_is_element(SimpleXMLElement $element) { list($elementNode) = $element->xpath('.'); return $elementNode == $element; } $documentElement = $simple; $attributeList = $simple->child->grandchild->attributes(); $attributeListEmpty = $simple->child->attributes(); $attribute = $simple->child->grandchild['a1']; $suite = array( 'is_element' => array('simplexml_is_element', array( array(false, $attribute), array(false, $attributeList), array(false, $attributeListEmpty), array(true, $documentElement), array(false, $documentElement->child), array(true, $documentElement->child[0]), array(true, $documentElement->child[1]), array(false, $documentElement->single), array(true, $documentElement->single[0]), )), ); echo "Running tests on PHP ", PHP_VERSION, " with LIBXML ", LIBXML_DOTTED_VERSION, ":\n"; run_test_suite($suite); function run_test_suite(array $testsuite) { foreach ($testsuite as $caselabel => $testcasedef) { list($callback, $testcase) = $testcasedef; $stats[] = run_testcase($testcase, $callback, $caselabel); } echo "\n"; $stat['tests'] = 0; $stat['failures'] = 0; foreach ($stats as $singled) { $stat['tests'] += $singled['tests']; $stat['failures'] += $singled['failures']; echo $singled['messages']; } printf("Done %d tests with %d failures.", $stat['tests'], $stat['failures']); } function run_testcase(array $testcase, $callback, $label = null) { if ($label === null) $label = $callback; $stats['tests'] = 0; $stats['failures'] = 0; $messages = ''; foreach ($testcase as $i => $test) { list($expected, $subject, $testlabel) = $test + array(2 => "#$i"); $labeltest = $label . ' ' . $testlabel; ob_start(); $result = run_test($expected, $subject, $callback, $labeltest); $buffer = ob_get_clean(); echo $result ? '.' : 'F'; if ($buffer) { $messages .= sprintf("### %s ###\n", $labeltest); $messages .= $buffer; } $stats['tests']++; if (!$result) $stats['failures']++; } return $stats + array('messages' => $messages); } function run_test($expected, $subject, $callback, $label) { $actual = call_user_func($callback, $subject); if ($expected instanceof SimpleXMLElement and $actual instanceof SimpleXMLElement) { $result = $actual == $expected; } else { $result = $actual === $expected; } if (!$result) { $extra = ''; if ($subject instanceof SimpleXMLElement) { $extra = sprintf(' with %s', rtrim($subject->asXML())); } printf("FAILED to test %s%s.\n", $label, $extra); echo 'expected: ', var_dump($expected); echo 'actual:', var_dump($actual); } return $result; }
Output for 7.1.0
Running tests on PHP 7.1.0 with LIBXML 2.9.4: ......... Done 9 tests with 0 failures.
Output for 7.0.14
Running tests on PHP 7.0.14 with LIBXML 2.9.4: ......... Done 9 tests with 0 failures.
Output for 7.0.7
Running tests on PHP 7.0.7 with LIBXML 2.9.4: ......... Done 9 tests with 0 failures.
Output for 7.0.6
Running tests on PHP 7.0.6 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 7.0.5
Running tests on PHP 7.0.5 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 7.0.4
Running tests on PHP 7.0.4 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 7.0.3
Running tests on PHP 7.0.3 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 7.0.2
Running tests on PHP 7.0.2 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 7.0.1
Running tests on PHP 7.0.1 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 7.0.0
Running tests on PHP 7.0.0 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for hhvm-3.12.0
Running tests on PHP 5.6.99-hhvm with LIBXML 2.9.3: ....F..F. ### is_element #4 ### FAILED to test is_element #4 with <child> give <grandchild a1="v1" a2="v2"> me </grandchild> <grandchild> more </grandchild> sugar. </child>. expected: bool(false) actual:bool(true) ### is_element #7 ### FAILED to test is_element #7 with <single/>. expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for hhvm-3.10.0
Running tests on PHP 5.6.99-hhvm with LIBXML 2.9.2: ....F..F. ### is_element #4 ### FAILED to test is_element #4 with <child> give <grandchild a1="v1" a2="v2"> me </grandchild> <grandchild> more </grandchild> sugar. </child>. expected: bool(false) actual:bool(true) ### is_element #7 ### FAILED to test is_element #7 with <single/>. expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.6.28
Running tests on PHP 5.6.28 with LIBXML 2.9.4: ......... Done 9 tests with 0 failures.
Output for 5.6.22
Running tests on PHP 5.6.22 with LIBXML 2.9.4: ......... Done 9 tests with 0 failures.
Output for 5.6.21
Running tests on PHP 5.6.21 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.20
Running tests on PHP 5.6.20 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.19
Running tests on PHP 5.6.19 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.18
Running tests on PHP 5.6.18 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.17
Running tests on PHP 5.6.17 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.16
Running tests on PHP 5.6.16 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.15
Running tests on PHP 5.6.15 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.14
Running tests on PHP 5.6.14 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.13
Running tests on PHP 5.6.13 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.12
Running tests on PHP 5.6.12 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.11
Running tests on PHP 5.6.11 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.10
Running tests on PHP 5.6.10 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.9
Running tests on PHP 5.6.9 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.8
Running tests on PHP 5.6.8 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.7
Running tests on PHP 5.6.7 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.6
Running tests on PHP 5.6.6 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.5
Running tests on PHP 5.6.5 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.4
Running tests on PHP 5.6.4 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.3
Running tests on PHP 5.6.3 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.2
Running tests on PHP 5.6.2 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.1
Running tests on PHP 5.6.1 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.6.0
Running tests on PHP 5.6.0 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.36
Running tests on PHP 5.5.36 with LIBXML 2.9.4: ......... Done 9 tests with 0 failures.
Output for 5.5.35
Running tests on PHP 5.5.35 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.34
Running tests on PHP 5.5.34 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.33
Running tests on PHP 5.5.33 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.32
Running tests on PHP 5.5.32 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.31
Running tests on PHP 5.5.31 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.30
Running tests on PHP 5.5.30 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.29
Running tests on PHP 5.5.29 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.28
Running tests on PHP 5.5.28 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.27
Running tests on PHP 5.5.27 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.26
Running tests on PHP 5.5.26 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.25
Running tests on PHP 5.5.25 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.24
Running tests on PHP 5.5.24 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.23
Running tests on PHP 5.5.23 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.22
Running tests on PHP 5.5.22 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.21
Running tests on PHP 5.5.21 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.20
Running tests on PHP 5.5.20 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.19
Running tests on PHP 5.5.19 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.18
Running tests on PHP 5.5.18 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.16
Running tests on PHP 5.5.16 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.15
Running tests on PHP 5.5.15 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.14
Running tests on PHP 5.5.14 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.13
Running tests on PHP 5.5.13 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.12
Running tests on PHP 5.5.12 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.11
Running tests on PHP 5.5.11 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.10
Running tests on PHP 5.5.10 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.9
Running tests on PHP 5.5.9 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.8
Running tests on PHP 5.5.8 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.7
Running tests on PHP 5.5.7 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.6
Running tests on PHP 5.5.6 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.5
Running tests on PHP 5.5.5 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.4
Running tests on PHP 5.5.4 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.3
Running tests on PHP 5.5.3 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.2
Running tests on PHP 5.5.2 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.1
Running tests on PHP 5.5.1 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.5.0
Running tests on PHP 5.5.0 with LIBXML 2.9.3: ......... Done 9 tests with 0 failures.
Output for 5.4.45
Running tests on PHP 5.4.45 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.44
Running tests on PHP 5.4.44 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.43
Running tests on PHP 5.4.43 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.42
Running tests on PHP 5.4.42 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.41
Running tests on PHP 5.4.41 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.40
Running tests on PHP 5.4.40 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.39
Running tests on PHP 5.4.39 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.38
Running tests on PHP 5.4.38 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.37
Running tests on PHP 5.4.37 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.36
Running tests on PHP 5.4.36 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.35
Running tests on PHP 5.4.35 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.34
Running tests on PHP 5.4.34 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.32
Running tests on PHP 5.4.32 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.31
Running tests on PHP 5.4.31 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.30
Running tests on PHP 5.4.30 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.29
Running tests on PHP 5.4.29 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.28
Running tests on PHP 5.4.28 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.27
Running tests on PHP 5.4.27 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.26
Running tests on PHP 5.4.26 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.25
Running tests on PHP 5.4.25 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.24
Running tests on PHP 5.4.24 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.23
Running tests on PHP 5.4.23 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.22
Running tests on PHP 5.4.22 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.21
Running tests on PHP 5.4.21 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.20
Running tests on PHP 5.4.20 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.19
Running tests on PHP 5.4.19 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.18
Running tests on PHP 5.4.18 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.17
Running tests on PHP 5.4.17 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.16
Running tests on PHP 5.4.16 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.15
Running tests on PHP 5.4.15 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.14
Running tests on PHP 5.4.14 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.13
Running tests on PHP 5.4.13 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.12
Running tests on PHP 5.4.12 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.11
Running tests on PHP 5.4.11 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.10
Running tests on PHP 5.4.10 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.9
Running tests on PHP 5.4.9 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.8
Running tests on PHP 5.4.8 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.7
Running tests on PHP 5.4.7 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.6
Running tests on PHP 5.4.6 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.5
Running tests on PHP 5.4.5 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.4
Running tests on PHP 5.4.4 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.3
Running tests on PHP 5.4.3 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.2
Running tests on PHP 5.4.2 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.1
Running tests on PHP 5.4.1 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.4.0
Running tests on PHP 5.4.0 with LIBXML 2.9.2: ......... Done 9 tests with 0 failures.
Output for 5.3.29
Running tests on PHP 5.3.29 with LIBXML 2.9.1: ......... Done 9 tests with 0 failures.
Output for 5.3.28
Running tests on PHP 5.3.28 with LIBXML 2.9.1: ......... Done 9 tests with 0 failures.
Output for 5.3.27
Running tests on PHP 5.3.27 with LIBXML 2.9.1: ......... Done 9 tests with 0 failures.
Output for 5.3.26
Running tests on PHP 5.3.26 with LIBXML 2.9.1: ......... Done 9 tests with 0 failures.
Output for 5.3.25
Running tests on PHP 5.3.25 with LIBXML 2.9.1: ......... Done 9 tests with 0 failures.
Output for 5.3.24
Running tests on PHP 5.3.24 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.23
Running tests on PHP 5.3.23 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.22
Running tests on PHP 5.3.22 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.21
Running tests on PHP 5.3.21 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.20
Running tests on PHP 5.3.20 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.19
Running tests on PHP 5.3.19 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.18
Running tests on PHP 5.3.18 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.17
Running tests on PHP 5.3.17 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.16
Running tests on PHP 5.3.16 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.15
Running tests on PHP 5.3.15 with LIBXML 2.8.0: ......... Done 9 tests with 0 failures.
Output for 5.3.14
Running tests on PHP 5.3.14 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.13
Running tests on PHP 5.3.13 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.12
Running tests on PHP 5.3.12 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.11
Running tests on PHP 5.3.11 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.10
Running tests on PHP 5.3.10 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.9
Running tests on PHP 5.3.9 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.8
Running tests on PHP 5.3.8 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.7
Running tests on PHP 5.3.7 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.6
Running tests on PHP 5.3.6 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.5
Running tests on PHP 5.3.5 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.4
Running tests on PHP 5.3.4 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.3
Running tests on PHP 5.3.3 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.2
Running tests on PHP 5.3.2 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.1
Running tests on PHP 5.3.1 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.3.0
Running tests on PHP 5.3.0 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.17
Running tests on PHP 5.2.17 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.16
Running tests on PHP 5.2.16 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.15
Running tests on PHP 5.2.15 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.14
Running tests on PHP 5.2.14 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.13
Running tests on PHP 5.2.13 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.12
Running tests on PHP 5.2.12 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.11
Running tests on PHP 5.2.11 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.10
Running tests on PHP 5.2.10 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.9
Running tests on PHP 5.2.9 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.8
Running tests on PHP 5.2.8 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.7
Running tests on PHP 5.2.7 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.6
Running tests on PHP 5.2.6 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.5
Running tests on PHP 5.2.5 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.4
Running tests on PHP 5.2.4 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.3
Running tests on PHP 5.2.3 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.2
Running tests on PHP 5.2.2 with LIBXML 2.7.8: ......... Done 9 tests with 0 failures.
Output for 5.2.1
Running tests on PHP 5.2.1 with LIBXML 2.7.8: ....F..F. ### is_element #4 ### FAILED to test is_element #4 with <child> give <grandchild a1="v1" a2="v2"> me </grandchild> <grandchild> more </grandchild> sugar. </child>. expected: bool(false) actual:bool(true) ### is_element #7 ### FAILED to test is_element #7 with <single/>. expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.2.0
Running tests on PHP 5.2.0 with LIBXML 2.7.8: ....F..F. ### is_element #4 ### FAILED to test is_element #4 with <child> give <grandchild a1="v1" a2="v2"> me </grandchild> <grandchild> more </grandchild> sugar. </child>. expected: bool(false) actual:bool(true) ### is_element #7 ### FAILED to test is_element #7 with <single/>. expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.1.6
Running tests on PHP 5.1.6 with LIBXML 2.7.8: F.F...... ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) ### is_element #2 ### FAILED to test is_element #2 with . expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.1.5
Running tests on PHP 5.1.5 with LIBXML 2.7.8: F.F...... ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) ### is_element #2 ### FAILED to test is_element #2 with . expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.1.4
Running tests on PHP 5.1.4 with LIBXML 2.7.8: F.F...... ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) ### is_element #2 ### FAILED to test is_element #2 with . expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.1.3
Running tests on PHP 5.1.3 with LIBXML 2.7.8: F.F...... ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) ### is_element #2 ### FAILED to test is_element #2 with . expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.1.2
Running tests on PHP 5.1.2 with LIBXML 2.7.8: F.F...... ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) ### is_element #2 ### FAILED to test is_element #2 with . expected: bool(false) actual:bool(true) Done 9 tests with 2 failures.
Output for 5.1.1
Running tests on PHP 5.1.1 with LIBXML 2.7.8: F........ ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) Done 9 tests with 1 failures.
Output for 5.1.0
Running tests on PHP 5.1.0 with LIBXML 2.7.8: F........ ### is_element #0 ### FAILED to test is_element #0 with a1="v1". expected: bool(false) actual:bool(true) Done 9 tests with 1 failures.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /in/nWWUr on line 60
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/nWWUr on line 31
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting ')' in /in/nWWUr on line 31
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/nWWUr on line 31
Process exited with code 255.