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--
|
--TEST--
|
||||||
SPL: SimpleXMLIterator
|
SPL: SimpleXMLIterator
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("spl")) print "skip"; ?>
|
<?php
|
||||||
<?php if (!extension_loaded("simplexml")) print "skip SimpleXML not present"; ?>
|
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--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
SPL: SimpleXMLIterator and recursion
|
SPL: SimpleXMLIterator and recursion
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!extension_loaded('simplexml')) print 'skip';
|
if (!extension_loaded("spl")) print "skip";
|
||||||
if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available';
|
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--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
SPL: SimpleXMLIterator and getChildren()
|
SPL: SimpleXMLIterator and getChildren()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!extension_loaded('simplexml')) print 'skip';
|
if (!extension_loaded("spl")) print "skip";
|
||||||
if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available';
|
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--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
SPL: SimpleXMLIterator and getChildren()
|
SPL: SimpleXMLIterator and getChildren()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!extension_loaded('simplexml')) print 'skip';
|
if (!extension_loaded("spl")) print "skip";
|
||||||
if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available';
|
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--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue