1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00

Check __set_state structure

Fix Bug #79521.

Closes GH-5462.
This commit is contained in:
Gabriel Caruso
2020-04-26 04:31:47 +02:00
parent f545ee2c6c
commit 34c460f329
4 changed files with 20 additions and 3 deletions
@@ -52,7 +52,7 @@ class TestClass
public function __wakeup() {}
public function __set_state() {}
public static function __set_state() {}
public function __autoload() {}
}
@@ -143,7 +143,7 @@ Modifiers for method TestClass::__wakeup():
Modifiers for method TestClass::__set_state():
0x00000001
0x00000011
Modifiers for method TestClass::__autoload():
@@ -207,7 +207,7 @@ Modifiers for method TestClass::__wakeup():
Modifiers for method TestClass::__set_state():
0x00000001
0x00000011
Modifiers for method TestClass::__autoload():