mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Only functional change is the renaming of the functions `dom_document_substitue_entities_(read|write)` to replace `substitue` with `substitute`.
13 lines
324 B
PHP
13 lines
324 B
PHP
--TEST--
|
|
Extending DateTime 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
|