3v4l.org

run code in 500+ PHP versions simultaneously
<?php class _ {} function _($_) { echo $_; } const _ = 'hello PHP'; _ (_:_) ; ?>

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.70.0070.00317.02
8.5.60.0110.00616.84
8.5.50.0080.00716.88
8.5.30.0100.01018.06
8.5.20.0070.01020.11
8.5.10.0070.00916.82
8.5.00.0120.01120.14
8.4.220.0100.01119.59
8.4.210.0130.00821.47
8.4.180.0130.00819.48
8.4.170.0090.01224.01
8.4.160.0130.00823.76
8.4.150.0070.00516.94
8.4.140.0140.00917.51
8.4.130.0050.00418.07
8.4.120.0110.00920.47
8.4.110.0130.00322.45
8.4.100.0040.00319.00
8.4.90.0100.01020.44
8.4.80.0040.00417.66
8.4.70.0100.01017.91
8.4.60.0120.00817.86
8.4.50.0080.00418.57
8.4.40.0130.00617.51
8.4.30.0360.01117.30
8.4.20.0400.00717.37
8.4.10.0440.00317.52
8.3.310.0110.00918.37
8.3.300.0130.00820.81
8.3.290.0110.00920.82
8.3.280.0090.01118.32
8.3.270.0120.00716.54
8.3.260.0140.00316.42
8.3.250.0140.00518.73
8.3.240.0120.00816.70
8.3.230.0100.00916.66
8.3.220.0030.00419.03
8.3.210.0040.00416.41
8.3.200.0080.01216.53
8.3.190.0110.00717.06
8.3.180.0110.00819.04
8.3.170.0090.00917.02
8.3.160.0400.00616.40
8.3.150.0270.02016.46
8.3.140.0320.01416.25
8.3.130.0340.00716.46
8.3.120.0310.01116.40
8.3.110.0380.00716.19
8.3.100.0290.01316.53
8.3.90.0430.00316.25
8.3.80.0400.00616.42
8.3.70.0350.01016.46
8.3.60.0270.01716.74
8.3.50.0350.01016.24
8.3.40.0210.01717.10
8.3.30.0240.01217.21
8.3.20.0240.01217.10
8.3.10.0300.00617.30
8.3.00.0180.00317.31
8.2.310.0110.00818.00
8.2.300.0120.01017.93
8.2.290.0140.00520.32
8.2.280.0090.00916.46
8.2.270.0320.00616.45
8.2.260.0270.01016.35
8.2.250.0210.01716.21
8.2.240.0270.01216.09
8.2.230.0280.01416.20
8.2.220.0250.01316.27
8.2.210.0280.00916.36
8.2.200.0350.00316.41
8.2.190.0300.00916.03
8.2.180.0340.00316.18
8.2.170.0320.01617.46
8.2.160.0370.00417.59
8.2.150.0370.00417.42
8.2.140.0370.00417.18
8.2.130.0370.00917.33
8.2.120.0320.00017.38
8.2.110.0280.00717.50
8.2.100.0400.00817.16
8.2.90.0310.00817.46
8.2.80.0350.00317.58
8.2.70.0250.00917.45
8.2.60.0310.00017.27
8.2.50.0130.00417.37
8.2.40.0280.00917.58
8.2.30.0270.00917.34
8.2.20.0260.01117.16
8.2.10.0270.00917.27
8.2.00.0290.00717.52
8.1.340.0120.00817.45
8.1.320.0110.00716.08

preferences:
43.82 ms | 868 KiB | 5 Q