1--TEST-- 2Extending DateTime and calling __set_state without args 3--CREDITS-- 4Gabriel Caruso (carusogabriel34@gmail.com) 5--FILE-- 6<?php 7class MyDateTime extends DateTime { 8 public static function __set_state() {} 9} 10?> 11--EXPECTF-- 12Fatal error: Method MyDateTime::__set_state() must take exactly 1 argument in %s on line %d 13