/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
date
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/date/tests/bug60302-001.phpt
--TEST-- Test for bug #60302: DateTime::createFromFormat should new static(), not new self() --FILE-- <?php class MyDateTime extends DateTime { } $d = MyDateTime::createFromFormat('Y-m-d', '2011-01-01'); echo get_class($d); ?> --EXPECT-- MyDateTime
Copyright ©2k19 -
Hexid
|
Tex7ure