1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
Files
archived-php-src/ext/date/tests/ExtendDateTime.phpt
Gabriel Caruso 4aabfe911e Revert "Update versions for PHP 8.0.21"
This reverts commit 6eedacdf15.
2022-07-06 12:06:48 +02:00

13 lines
322 B
PHP

--TEST--
Extendig DatTime and calling __set_state without args
--CREDITS--
Gabriel Caruso (carusogabriel34@gmail.com)
--FILE--
<?php
class MyDateTime extends DateTime {
public static function __set_state() {}
}
?>
--EXPECTF--
Fatal error: Method MyDateTime::__set_state() must take exactly 1 argument in %s on line %d