mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Use correct/complete skipif condition
This commit is contained in:
parent
1b31dfb160
commit
efcfe44299
4 changed files with 17 additions and 8 deletions
|
@ -1,8 +1,11 @@
|
|||
--TEST--
|
||||
SPL: SimpleXMLIterator
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("spl")) print "skip"; ?>
|
||||
<?php if (!extension_loaded("simplexml")) print "skip SimpleXML not present"; ?>
|
||||
<?php
|
||||
if (!extension_loaded("spl")) print "skip";
|
||||
if (!extension_loaded("simplexml")) print "skip SimpleXML not present";
|
||||
if (!extension_loaded("libxml")) print "skip LibXML not present";
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
SPL: SimpleXMLIterator and recursion
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("spl")) print "skip";
|
||||
if (!extension_loaded('simplexml')) print 'skip';
|
||||
if (!extension_loaded("libxml")) print "skip LibXML not present";
|
||||
if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available';
|
||||
?>
|
||||
--FILE--
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
SPL: SimpleXMLIterator and getChildren()
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("spl")) print "skip";
|
||||
if (!extension_loaded('simplexml')) print 'skip';
|
||||
if (!extension_loaded("libxml")) print "skip LibXML not present";
|
||||
if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available';
|
||||
?>
|
||||
--FILE--
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
SPL: SimpleXMLIterator and getChildren()
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("spl")) print "skip";
|
||||
if (!extension_loaded('simplexml')) print 'skip';
|
||||
if (!extension_loaded("libxml")) print "skip LibXML not present";
|
||||
if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available';
|
||||
?>
|
||||
--FILE--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue