mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
Revert "Update versions for PHP 8.0.21"
This reverts commit 6eedacdf15.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
--TEST--
|
||||
SplFixedArray::__construct() with array passed as integer.
|
||||
--CREDITS--
|
||||
PHPNW Test Fest 2009 - Jordan Hatch
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
try {
|
||||
$array = new SplFixedArray( array("string", 1) );
|
||||
} catch (TypeError $iae) {
|
||||
echo "Ok - ".$iae->getMessage().PHP_EOL;
|
||||
}
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, array given
|
||||
Reference in New Issue
Block a user