--TEST--
Bug #43450 (Memory leak on some functions with implicit object __toString() call)
--SKIPIF--
-<?php if (!function_exists('memory_get_usage')) die('memory_get_usage() not installed'); ?>
+<?php if (!function_exists('memory_get_usage')) die('skip memory_get_usage() not installed'); ?>
--INI--
opcache.enable_cli=0
--FILE--
die('skip ot supported on this system');
}
if (disk_free_space(__DIR__) < 10*1024*1024*1024) {
- die('not enough disk space');
+ die('skip Not enough disk space');
}
?>
--FILE--
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
if (!$link)
- die(sprintf("Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+ die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
if (!have_innodb($link))
- die(sprintf("Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+ die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
?>
--FILE--
<?php
[1]=>
string(4) "egon"
}
-done!
\ No newline at end of file
+done!
require_once __DIR__ . '/skipifconnectfailure.inc';
require_once __DIR__ . '/connect.inc';
if (!$IS_MYSQLND) {
- die('mysqlnd only');
+ die('skip mysqlnd only');
}
?>
--FILE--
require_once(dirname(__FILE__).'/skipif.inc');
require_once(dirname(__FILE__).'/snmp_include.inc');
-if (!file_exists($mibdir . '/SNMPv2-MIB.txt')) die('MIB file not in the system');
+if (!file_exists($mibdir . '/SNMPv2-MIB.txt')) die('skip MIB file not in the system');
?>
--FILE--
die('skip sockets extension not available.');
}
if (PHP_OS !== 'Darwin') {
- die('is not OSX.');
+ die('skip Is not OSX.');
}
--FILE--
<?php
}
$php = getenv('TEST_PHP_EXECUTABLE');
if (!$php) {
- die("No php executable defined\n");
+ die("skip No php executable defined\n");
}
?>
--FILE--
$cmd = "mklink /?";
$ret = @exec($cmd, $output, $return_val);
if (count($output) == 0) {
- die("mklink.exe not found in PATH");
+ die("skip mklink.exe not found in PATH");
}
?>
--FILE--
$cmd = "mklink /?";
$ret = @exec($cmd, $output, $return_val);
if (count($output) == 0) {
- die("mklink.exe not found in PATH");
+ die("skip mklink.exe not found in PATH");
}
?>
--FILE--
--SKIPIF--
<?php
$filters = stream_get_filters();
-if(! in_array( "dechunk", $filters )) die( "chunked filter not available." );
+if(! in_array( "dechunk", $filters )) die( "skip Chunked filter not available." );
?>
--INI--
allow_url_fopen=1
Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
--SKIPIF--
<?php
-if(!class_exists('zip')) die('ZipArchive');
+if(!class_exists('zip')) die('skip ZipArchive');
?>
--FILE--
<?php