--TEST--
Bug #34199 (if($obj)/if(!$obj) inconsistency because of cast handler)
--SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip"; ?>
+<?php if (!extension_loaded("simplexml")) print "skip SimpleXML extension required"; ?>
--FILE--
<?php
$xml = "<root></root>";
--TEST--
Bug #39602 (Invalid session.save_handler crashes PHP)
--SKIPIF--
-<?php if (!extension_loaded("session")) die("skip"); ?>
+<?php if (!extension_loaded("session")) die("skip session extension required"); ?>
--INI--
session.save_handler=qwerty
error_reporting=0
--TEST--
Bug #42819 (namespaces in indexes of constant arrays)
--SKIPIF--
-<?php if (!extension_loaded("spl")) print "skip"; ?>
+<?php if (!extension_loaded("spl")) print "skip SPL extension required"; ?>
--FILE--
<?php
namespace foo\foo;
--TEST--
Bug #43918 (Segmentation fault in garbage collector)
--SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip"; ?>
+<?php if (!extension_loaded("simplexml")) print "skip SimpleXML extension required"; ?>
--FILE--
<?php
$xmlstr = <<<XML
--TEST--
Bug #50174 (Incorrectly matched docComment)
--SKIPIF--
-<?php if (!extension_loaded('reflection') || !extension_loaded('spl')) print "skip"; ?>
+<?php if (!extension_loaded('reflection') || !extension_loaded('spl')) print "skip SPL and reflection extensions required"; ?>
--FILE--
<?php
--INI--
zend.enable_gc=1
--SKIPIF--
-<?php if (!extension_loaded("spl")) print "skip"; ?>
+<?php if (!extension_loaded("spl")) print "skip SPL extension required"; ?>
--FILE--
<?php
$a = new ArrayObject();
--TEST--
unset() CV 10 (unset() of global variable in ArrayObject::offsetUnset($GLOBALS))
--SKIPIF--
-<?php if (!extension_loaded("spl")) print "skip"; ?>
+<?php if (!extension_loaded("spl")) print "skip SPL extension required"; ?>
--FILE--
<?php
$a = new ArrayObject($GLOBALS);
when openssl loaded, tcp stream is less verbose, so some error messages are missing
so let's skip the test in this case
*/
- die("skip");
+ die("skip OpenSSL extension required");
}
?>
--FILE--
--TEST--
SPL: IteratorIterator and SimpleXMlElement
--SKIPIF--
-<?php if (!extension_loaded('simplexml')) print "skip"; ?>
+<?php if (!extension_loaded('simplexml')) print "skip SimpleXML required"; ?>
--FILE--
<?php
--SKIPIF--
<?php
$sockets = @stream_socket_pair(STREAM_PF_UNIX, STREAM_SOCK_STREAM, 0);
-if (!$sockets) die("skip");
+if (!$sockets) die("skip stream_socket_pair() should work");
fclose($sockets[0]);
fclose($sockets[1]);
?>
XMLReader: Expand into existing DOM documet
--SKIPIF--
<?php if (!extension_loaded("xmlreader")) print "skip";
-if (!extension_loaded("dom")) print "skip";
+if (!extension_loaded("dom")) print "skip DOM extension required";
$reader = new XMLReader();
if (!method_exists($reader, 'expand')) print "skip";
?>
<?php
include "skipif.inc";
if (!extension_loaded("reflection")) {
- die("skip");
+ die("skip reflection extension required");
}
?>
--FILE--
<?php
include "skipif.inc";
if (!extension_loaded("reflection")) {
- die("skip");
+ die("skip reflection extension required");
}
?>
--FILE--
<?php
include "skipif.inc";
if (!extension_loaded("reflection") || !extension_loaded("session")) {
- die("skip");
+ die("skip reflection and session extensions required");
}
?>
--INI--