3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); public function isItInt(integer $i) { var_dump(is_int($i)); } isItInt("1");

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)
7.0.10.0000.05020.15
7.0.00.0070.07020.22
5.6.160.0070.08320.59
5.6.150.0130.07318.19
5.6.140.0030.04018.15
5.6.130.0030.04018.15
5.6.120.0030.04020.97
5.6.110.0100.08720.97
5.6.100.0100.08320.97
5.6.90.0000.05720.94
5.6.80.0270.06020.52
5.5.300.0070.04718.03
5.5.290.0030.04017.92
5.5.280.0100.08020.88
5.5.270.0130.06720.64
5.5.260.0100.07020.80
5.5.250.0130.07020.68
5.5.240.0130.06320.21

preferences:
138.44 ms | 1394 KiB | 7 Q