3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a {function __construct($s) { $this->s=$s;} function __toString(){return $this->s;}} $a = new a('aze'); echo hash_equals($a, $a);
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Creation of dynamic property a::$s is deprecated in /in/5MFmo on line 2 Fatal error: Uncaught TypeError: hash_equals(): Argument #1 ($known_string) must be of type string, a given in /in/5MFmo:6 Stack trace: #0 /in/5MFmo(6): hash_equals(Object(SensitiveParameterValue), Object(SensitiveParameterValue)) #1 {main} thrown in /in/5MFmo on line 6
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
66.44 ms | 401 KiB | 8 Q