3v4l.org

run code in 300+ PHP versions simultaneously
<?php $in = "echo 123"; $h = highlight_string("<?php\n" . $in, true); var_dump($h);

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)
8.5.30.0080.00918.14
8.5.20.0100.00819.36
8.5.10.0110.00818.13
8.5.00.0140.00919.84
8.4.180.0130.01019.63
8.4.170.0130.00920.51
8.4.160.0140.00822.10
8.4.150.0020.00114.05
8.4.140.0170.00617.65
8.4.130.0130.00717.76
8.4.120.0080.01020.55
8.4.110.0080.00322.48
8.4.100.0040.00417.81
8.4.90.0080.00518.75
8.4.80.0150.00317.54
8.4.70.0260.00817.55
8.4.60.0130.00718.66
8.4.50.0270.01117.82
8.4.40.0210.00817.28
8.4.30.0220.00917.61
8.4.20.0270.00917.46
8.4.10.0270.00817.46
8.3.300.0130.00820.73
8.3.290.0060.00420.77
8.3.280.0020.00014.05
8.3.270.0120.00716.23
8.3.260.0110.00616.71
8.3.250.0150.00418.71
8.3.240.0090.00916.52
8.3.230.0090.00716.67
8.3.220.0100.00817.09
8.3.210.0150.00416.61
8.3.200.0120.00816.50
8.3.190.0250.00916.38
8.3.180.0330.01016.22
8.3.170.0260.00616.13
8.3.160.0290.00816.15
8.3.150.0350.00816.47
8.3.140.0220.00416.24
8.3.130.0130.00516.41
8.3.120.0150.00416.39
8.3.110.0120.00716.48
8.3.100.0160.00616.51
8.3.90.0160.00416.44
8.3.80.0150.00616.32
8.3.70.0190.00316.32
8.3.60.0160.00516.43
8.3.50.0140.00616.54
8.3.40.0170.00617.46
8.3.30.0260.00617.53
8.3.20.0240.01117.35
8.3.10.0330.00817.39
8.3.00.0130.00217.63
8.2.300.0100.01220.21
8.2.290.0140.00520.13
8.2.280.0300.00716.45
8.2.270.0230.00716.48
8.2.260.0260.00416.14
8.2.250.0210.00316.28
8.2.240.0220.00716.38
8.2.230.0210.00616.23
8.2.220.0270.00916.75
8.2.210.0320.00416.20
8.2.200.0220.00816.66
8.2.190.0250.00516.32
8.2.180.0300.00916.33
8.2.170.0240.00717.73
8.2.160.0240.00617.59
8.2.150.0260.00717.38
8.2.140.0240.00517.38
8.2.130.0270.00817.34
8.2.120.0340.01017.34
8.2.110.0180.00917.24
8.2.100.0220.00717.46
8.2.90.0160.00317.34
8.2.80.0130.00517.32
8.2.70.0250.00417.07
8.2.60.0160.00417.70
8.2.50.0180.00717.63
8.2.40.0330.00817.17
8.2.30.0270.00817.13
8.2.20.0270.00617.21
8.2.10.0130.00417.40
8.2.00.0230.00517.55
8.1.340.0090.01120.02
4.3.00.0050.00116.20

preferences:
31.81 ms | 403 KiB | 5 Q