Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Zend/tests/temporary_cleaning_014.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Leak in JMP_SET
--SKIPIF--
<?php if (!extension_loaded("gmp")) print "skip"; ?>
<?php if (!extension_loaded("gmp")) die("skip gmp extension not loaded"); ?>
--FILE--
<?php
set_error_handler(function() { throw new Exception; });
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcadd.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcadd() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
4 changes: 2 additions & 2 deletions ext/bcmath/tests/bcadd_error1.phpt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
--TEST--
bcadd() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
<?php
echo bcadd();
?>
--EXPECTF--
Warning: bcadd() expects at least 2 parameters, 0 given in %s on line %d
Warning: bcadd() expects at least 2 parameters, 0 given in %s on line %d
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcadd_variation001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcadd() with non-integers
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=5
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bccomp.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bccomp() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bccomp_variation001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bccomp() with non-integers
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bccomp_variation002.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bccomp() with negative value
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcdiv.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcdiv() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcdiv_error1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TestFest2009
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcdiv('10.99', '0');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcdiv_error2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bcdiv — Divide two arbitrary precision numbers
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcdiv('1', '2', '3', '4');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcmod.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcmod() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcmod_error1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bcmod — Get modulus of an arbitrary precision number
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcmod('1', '2', '3', '4');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcmod_error2.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcmod() - mod by 0
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcmul.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcmul() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcmul_error1.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcmul() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpow.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcpow() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpow_error3.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcpow() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpow_variation001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcpow() with a negative exponent
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpowmod.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpowmod_error1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bcpowmod — Raise an arbitrary precision number to another, reduced by a specif
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcpowmod('1');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpowmod_error2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bcpowmod — Raise an arbitrary precision number to another, reduced by a specif
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcpowmod('1', '2');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcpowmod_error3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bcpowmod — Raise an arbitrary precision number to another, reduced by a specif
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcpowmod('1', '2', '3', '4', '5');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcscale.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcscale() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcscale_variation001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcscale() with negative argument
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcscale_variation002.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcadd() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=-2
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcscale_variation003.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcscale() return value
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcsqrt.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcsqrt() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcsqrt_error1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bcsqrt — Get the square root of an arbitrary precision number
Antoni Torrents
[email protected]
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--FILE--
<?php
echo bcsqrt('-9');
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcsqrt_error2.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcsqrt() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcsqrt_variation001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcsqrt() with argument of 0
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcsub.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcsub() function
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bcsub_error1.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bcsub() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
<?php if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded"); ?>
--INI--
bcmath.scale=0
--FILE--
Expand Down
2 changes: 1 addition & 1 deletion ext/bcmath/tests/bug72093.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Bug 72093: bcpowmod accepts negative scale and corrupts _one_ definition
--SKIPIF--
<?php
if(!extension_loaded("bcmath")) print "skip";
if(!extension_loaded("bcmath")) die("skip bcmath extension not loaded");
?>
--FILE--
<?php
Expand Down
4 changes: 2 additions & 2 deletions ext/bz2/tests/001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bzopen() and invalid parameters
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand All @@ -18,7 +18,7 @@ var_dump(bzopen($fp, "r"));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: bzopen() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/002.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bzopen() using fd opened in wrong mode
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/003-mb.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bzread() tests
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/003.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bzread() tests
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/004.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bzread() tests with invalid files
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/005.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
bzcompress()/bzdecompress() tests
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/bug51997.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #51997 (SEEK_CUR with 0 value, returns a warning)
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/bug72447.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #72447: Type Confusion in php_bz2_filter_create()
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php
$input = "AAAAAAAA";
Expand Down
2 changes: 1 addition & 1 deletion ext/bz2/tests/bug72613.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #72613 (Inadequate error handling in bzread())
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
<?php if (!extension_loaded("bz2")) die("skip bz2 extension not loaded"); ?>
--FILE--
<?php
$fp = bzopen(__DIR__.'/72613.bz2', 'r');
Expand Down
Loading