3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Stringable { public function __toString() { return "A"; } } var_dump(new Stringable != "A")

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.30.0030.03716.39
5.4.20.0030.04716.39
5.4.10.0100.06716.39
5.4.00.0070.05715.75
5.3.130.0100.07314.57
5.3.120.0170.06714.64
5.3.110.0030.07314.59
5.3.100.0070.07714.00
5.3.90.0030.07314.04
5.3.80.0030.07014.05
5.3.70.0030.05714.04
5.3.60.0000.04714.00
5.3.50.0030.05014.00
5.3.40.0070.04313.93
5.3.30.0070.03313.96
5.3.20.0030.07013.77
5.3.10.0130.06313.64
5.3.00.0030.04713.66

preferences:
139.21 ms | 1394 KiB | 7 Q