--TEST--
-Bug #73679 DOTNET read access violation using invalid codepage
+Bug #73679 DOTNET read access violation using invalid codepage
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
--TEST--
Bug #67949: DOMNodeList elements should be accessible through array notation
+--SKIPIF--
+<?php require 'skipif.inc' ?>
--FILE--
<?php
var_dump($anchor->attributes[0]->name);
echo "==DONE==\n";
-
+?>
--EXPECTF--
testing has_dimension
bool(true)
testing attribute access
string(4) "href"
==DONE==
-
--TEST--
Bug #69373 References to deleted XPath query results
+--SKIPIF--
+<?php require 'skipif.inc' ?>
--FILE--
<?php
$doc = new DOMDocument();
--TEST--
Bug #69679 (DOMDocument::loadHTML refuses to accept NULL bytes)
+--SKIPIF--
+<?php require 'skipif.inc' ?>
--FILE--
<?php
$doc = new DOMDocument();
--TEST--
Bug #71745 FILTER_FLAG_NO_RES_RANGE does not cover whole 127.0.0.0/8 range
-SKIPIF--
+--SKIPIF--
<?php if (!extension_loaded('filter')) die('skip filter extension not loaded'); ?>
--FILE--
<?php
Bug #75124 (gdImageGrayScale() may produce colors)
--SKIPIF--
<?php
-if (!extension_loaded('gd')) die('gd extension not available');
+if (!extension_loaded('gd')) die('skip gd extension not available');
if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.5', '<')) {
die('skip only for bundled libgd or external libgd >= 2.2.5');
}
--TEST--
ldap_exop_refresh() - Test LDAP refresh extended operation
---SKIPIF--
-<?php require 'skipif.inc'; ?>
--CREDITS--
Emmanuel Dreyfus <manu@netbsd.org>
--SKIPIF--
--TEST--
Bug #73789 (Strange behavior of class constants in switch/case block)
+--SKIPIF--
+<?php if (!extension_loaded('ctype')) die('skip extension ctype not loaded'); ?>
--FILE--
<?php
class Lexer
}
}
var_dump((new Lexer())->getType("dot"));
+?>
--EXPECT--
int(2)
--TEST--
public static array PDO::getAvailableDrivers ( void );
array pdo_drivers ( void );
+--SKIPIF--
+<?php require 'skipif.inc'; ?>
--CREDITS--
marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
--FILE--
public bool SQLite3::busyTimeout ( int $msecs );
--CREDITS--
marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
---XFAILIF--
-<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
+--SKIPIF--
+<?php require 'skipif.inc'; ?>
--FILE--
<?php
require_once(dirname(__FILE__) . '/new_db.inc');
+++ /dev/null
---TEST--
-Test the basics to function XSLTProcessor::hasExsltSupport() when the xsl extension os not available.
---CREDITS--
-Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
---SKIPIF--
-<?php (!extension_loaded('xsl')) or die('skip xsl extension is available'); ?>
---FILE--
-<?php
-$proc = new XSLTProcessor();
-var_dump($proc->hasExsltSupport());
-?>
---EXPECTF--
-Fatal error: Class 'XSLTProcessor' not found in %s on line %d
\ No newline at end of file