mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
Merge branch 'PHP-5.6'
* PHP-5.6: Remove superfluous echos.
This commit is contained in:
commit
fce97414bc
@ -18,7 +18,7 @@ exif.encode_unicode=ISO-8859-1
|
||||
test4.jpg is a 1*1 image that contains Exif tags written by WindowsXP
|
||||
*/
|
||||
$image = exif_read_data(dirname(__FILE__).'/test4.jpg','',true,false);
|
||||
echo var_dump($image['WINXP']);
|
||||
var_dump($image['WINXP']);
|
||||
?>
|
||||
--EXPECT--
|
||||
array(5) {
|
||||
|
@ -13,6 +13,6 @@ if (!extension_loaded('reflection') || !defined('PHP_VERSION_ID') || PHP_VERSION
|
||||
<?php
|
||||
$closure = function($param) { return "this is a closure"; };
|
||||
$rc = new ReflectionFunction($closure);
|
||||
echo var_dump($rc->isClosure());
|
||||
var_dump($rc->isClosure());
|
||||
--EXPECTF--
|
||||
bool(true)
|
||||
|
@ -10,6 +10,6 @@ if (!extension_loaded('reflection') || !defined('PHP_VERSION_ID') || PHP_VERSION
|
||||
--FILE--
|
||||
<?php
|
||||
$rc = new ReflectionFunction('ereg');
|
||||
echo var_dump($rc->isDeprecated());
|
||||
var_dump($rc->isDeprecated());
|
||||
--EXPECTF--
|
||||
bool(true)
|
||||
|
@ -12,6 +12,6 @@ disable_functions=is_file
|
||||
--FILE--
|
||||
<?php
|
||||
$rc = new ReflectionFunction('is_file');
|
||||
echo var_dump($rc->isDisabled());
|
||||
var_dump($rc->isDisabled());
|
||||
--EXPECTF--
|
||||
bool(true)
|
||||
|
@ -24,7 +24,7 @@ gzclose($h);
|
||||
echo "\nreading the output file\n";
|
||||
$h = gzopen($f, 'r');
|
||||
echo gzread($h, strlen($str1))."\n";
|
||||
echo var_dump(bin2hex(gzread($h, 20)));
|
||||
var_dump(bin2hex(gzread($h, 20)));
|
||||
echo gzread($h, strlen($str2))."\n";
|
||||
gzclose($h);
|
||||
unlink($f);
|
||||
|
@ -20,7 +20,7 @@ gzwrite($h, $str2);
|
||||
gzclose($h);
|
||||
$h = gzopen($f, 'r');
|
||||
echo gzread($h, strlen($str1))."\n";
|
||||
echo var_dump(bin2hex(gzread($h, 20)));
|
||||
var_dump(bin2hex(gzread($h, 20)));
|
||||
echo gzread($h, strlen($str2))."\n";
|
||||
gzclose($h);
|
||||
unlink($f);
|
||||
|
@ -24,7 +24,7 @@ gzclose($h);
|
||||
echo "\nreading the output file\n";
|
||||
$h = gzopen($f, 'r');
|
||||
echo gzread($h, strlen($str1))."\n";
|
||||
echo var_dump(bin2hex(gzread($h, 20)));
|
||||
var_dump(bin2hex(gzread($h, 20)));
|
||||
echo gzread($h, strlen($str2))."\n";
|
||||
gzclose($h);
|
||||
unlink($f);
|
||||
|
@ -24,7 +24,7 @@ gzclose($h);
|
||||
echo "\nreading the output file\n";
|
||||
$h = gzopen($f, 'r');
|
||||
echo gzread($h, strlen($str1))."\n";
|
||||
echo var_dump(bin2hex(gzread($h, 20)));
|
||||
var_dump(bin2hex(gzread($h, 20)));
|
||||
echo gzread($h, strlen($str2))."\n";
|
||||
gzclose($h);
|
||||
unlink($f);
|
||||
|
Loading…
Reference in New Issue
Block a user