]> granicus.if.org Git - php/commitdiff
- Fix test
authorJohannes Schlüter <johannes@php.net>
Tue, 12 Jun 2007 17:23:57 +0000 (17:23 +0000)
committerJohannes Schlüter <johannes@php.net>
Tue, 12 Jun 2007 17:23:57 +0000 (17:23 +0000)
ext/simplexml/tests/bug37565.phpt

index 906c56ac5bb06021cf25c108b0e6b589046ce5fc..1e98d4286ad396ae4608a021cce647daa1870333 100755 (executable)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #37565 (Using reflection::export with simplexml causing a crash)
 --SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip"; ?>
+<?php if (!extension_loaded("simplexml") || !extension_loaded('reflection')) print "skip"; ?>
 --FILE--
 <?php
 function my_error_handler($errno, $errstr, $errfile, $errline) {