1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Revert "Update versions for PHP 8.0.21"

This reverts commit 6eedacdf15.
This commit is contained in:
Gabriel Caruso
2022-07-06 11:53:05 +02:00
parent 6eedacdf15
commit 8a233644fc
20201 changed files with 0 additions and 3823782 deletions
@@ -1,22 +0,0 @@
--TEST--
SPL: ArrayObject::__construct with too many arguments.
--FILE--
<?php
echo "Too many arguments:\n";
Class C implements Iterator {
function current() {}
function next() {}
function key() {}
function valid() {}
function rewind() {}
}
try {
var_dump(new ArrayObject(new stdClass, 0, "C", "extra"));
} catch (TypeError $e) {
echo $e->getMessage() . "(" . $e->getLine() . ")\n";
}
?>
--EXPECT--
Too many arguments:
ArrayObject::__construct() expects at most 3 arguments, 4 given(12)