@ -1,7 +1,7 @@
--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>";
Bug #39602 (Invalid session.save_handler crashes PHP)
<?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
Bug #42819 (namespaces in indexes of constant arrays)
<?php if (!extension_loaded("spl")) print "skip"; ?>
<?php if (!extension_loaded("spl")) print "skip SPL extension required"; ?>
namespace foo\foo;
Bug #43918 (Segmentation fault in garbage collector)
$xmlstr = <<<XML
Bug #50174 (Incorrectly matched docComment)
<?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"; ?>
@ -3,7 +3,7 @@ GC 024: GC and objects with non-standard handlers
zend.enable_gc=1
$a = new ArrayObject();
unset() CV 10 (unset() of global variable in ArrayObject::offsetUnset($GLOBALS))
$a = new ArrayObject($GLOBALS);
@ -8,7 +8,7 @@ if (extension_loaded("openssl")) {
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");
}
?>
SPL: IteratorIterator and SimpleXMlElement
<?php if (!extension_loaded('simplexml')) print "skip"; ?>
<?php if (!extension_loaded('simplexml')) print "skip SimpleXML required"; ?>
@ -3,7 +3,7 @@ stream_get_line() on non-blocking stream
$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]);
@ -2,7 +2,7 @@
XMLReader: Expand into existing DOM documet
<?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";
@ -4,7 +4,7 @@ show information about function
include "skipif.inc";
if (!extension_loaded("reflection")) {
die("skip reflection extension required");
@ -4,7 +4,7 @@ show information about class
@ -4,7 +4,7 @@ show information about extension
if (!extension_loaded("reflection") || !extension_loaded("session")) {
die("skip reflection and session extensions required");