fix existing ones
@ -1,5 +1,7 @@
--TEST--
jdtojewish() function
--SKIPIF--
<?php include 'skipif.inc'; ?>
--FILE--
<?php
Bug #25745 (ctype functions fail with non-ascii characters)
<?php if (!extension_loaded("ctype")) print "skip"; ?>
$funcs = array(
Bug #34645 (ctype corrupts memory when validating large numbers)
$id = 394829384;
iconv() test 3
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
for ($i = 0; $i < 3; ++$i) {
iconv_mime_encode() sanity cheeck.
var_dump(iconv_mime_encode('', ''));
@ -1,6 +1,6 @@
iconv_mime_decode_headers()
--SKIP--
--INI--
iconv.internal_charset=iso-8859-1
Bug #28220 (mb_strwidth() returns wrong width values for some Hangul characters)
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
$coderange = array(
Bug #30549 (incorrect character translations for some ISO8859 charsets)
test('ISO-8859-7', array(0xa4 => 0x20ac, 0xa5 => 0x20af, 0xaa => 0x037a));
Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
echo mb_decode_mimeheader("Works: =?iso-8859-1?q?=3F=3F=3F?=");
bind and fetch cursor from a statement
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
@ -1,5 +1,9 @@
Bug #35336 (crash on PDO::FETCH_CLASS + __set())
<?php # vim:ft=php
if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
?>
class EEE {
Bug #27010 (segfault and node text not displayed when returned from children())
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
Bug #28112 (sqlite_query() crashing apache on malformed query)
<?php if (!extension_loaded("sqlite")) print "skip"; ?>
token_name()
<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
token_get_all()
token_get_all() and wrong parameters
Bug #26463 (token_get_all() does not correctly handle semicolons after T_END_HEREDOC)
$str = '<?php
wddx deserialization test
<?php if (!extension_loaded("wddx")) print "skip"; ?>
$path = dirname(__FILE__);
Bug #27287 (segfault with deserializing object data)
#34306 (wddx_serialize_value() crashes with long array keys)
#35410 (wddx_deserialize() doesn't handle large ints as keys properly)
$wddx = <<<WDX