summaryrefslogtreecommitdiff
path: root/ext/date/tests/ExtendDateTime.phpt
blob: 164221709c424739082820094f39934371a76146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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--
Warning: Declaration of MyDateTime::__set_state() should be compatible with DateTime::__set_state(array $array) in %s on line %d