3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_export( substr_compare('abcd', 'f', 0, 4) );

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.0100.01018.30
8.5.60.0100.00816.71
8.5.50.0110.00516.62
8.5.30.0070.00319.61
8.5.20.0100.00920.08
8.5.10.0110.00716.66
8.5.00.0100.01119.77
8.4.220.0140.00819.28
8.4.210.0110.01021.14
8.4.180.0150.01220.58
8.4.170.0160.00620.55
8.4.160.0030.00820.67
8.4.150.0080.00516.82
8.4.140.0130.00817.41
8.4.130.0050.00417.85
8.4.120.0120.00724.13
8.4.110.0110.00918.64
8.4.100.0140.00517.61
8.4.90.0100.01120.79
8.4.80.0110.00918.96
8.4.70.0120.00818.53
8.4.60.0120.00820.06
8.4.50.0150.00518.42
8.4.40.0160.00317.30
8.4.30.0160.00318.56
8.4.20.0070.01420.88
8.4.10.0310.01417.24
8.3.310.0110.00918.26
8.3.300.0120.00818.62
8.3.290.0100.00920.77
8.3.280.0120.00918.24
8.3.270.0100.00916.23
8.3.260.0110.00716.18
8.3.250.0100.00717.14
8.3.240.0090.01116.86
8.3.230.0110.00718.11
8.3.220.0090.01019.04
8.3.210.0100.00516.58
8.3.200.0040.00516.40
8.3.190.0090.00916.57
8.3.180.0140.00716.76
8.3.170.0100.00017.09
8.3.160.0070.00017.25
8.3.150.0060.01217.00
8.3.140.0410.00016.21
8.3.130.0340.00616.37
8.3.120.0290.01116.38
8.3.110.0270.01416.36
8.3.100.0310.01516.30
8.3.90.0380.00716.45
8.3.80.0380.00816.51
8.3.70.0400.00616.16
8.3.60.0320.01016.53
8.3.50.0370.01216.58
8.3.40.0320.00617.17
8.3.30.0330.00017.06
8.3.20.0280.00717.10
8.3.10.0230.01017.22
8.3.00.0150.00719.02
8.2.310.0120.00918.02
8.2.300.0110.01020.29
8.2.290.0140.00516.90
8.2.280.0100.00416.80
8.2.270.0100.00616.36
8.2.260.0290.00316.18
8.2.250.0310.00016.40
8.2.240.0190.00616.44
8.2.230.0110.00616.31
8.2.220.0100.00716.37
8.2.210.0190.00516.29
8.2.200.0240.00016.42
8.2.190.0220.00316.35
8.2.180.0140.00716.22
8.2.170.0310.00317.59
8.2.160.0200.00917.30
8.2.150.0320.01017.29
8.2.140.0340.00617.23
8.2.130.0240.01617.18
8.2.120.0290.00717.15
8.2.110.0290.01217.18
8.2.100.0330.00617.36
8.2.90.0360.00417.33
8.2.80.0290.00417.01
8.2.70.0320.00717.34
8.2.60.0330.00817.28
8.2.50.0230.01317.30
8.2.40.0290.00717.29
8.2.30.0240.01417.00
8.2.20.0290.00917.28
8.2.10.0320.00416.98
8.2.00.0260.01117.15
8.1.340.0110.01120.11
8.1.320.0120.00716.05

preferences:
43.71 ms | 863 KiB | 5 Q