1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/date/tests/ExtendDateTime.phpt
2020-07-20 10:54:59 +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