3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar {} $bar = 'Bar'; var_dump(new Bar() instanceof $bar);

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.0110.00621.21
8.5.20.0130.00417.63
8.5.10.0080.00016.55
8.5.00.0120.00919.80
8.4.180.0040.00625.78
8.4.170.0120.00921.93
8.4.160.0170.00923.89
8.4.150.0080.00416.90
8.4.140.0100.01017.60
8.4.130.0070.00419.50
8.4.120.0050.00624.11
8.4.110.0120.00822.15
8.4.100.0070.00518.87
8.4.90.0120.00718.69
8.4.80.0100.00918.63
8.4.70.0120.00817.76
8.4.60.0090.01119.06
8.4.50.0080.00420.47
8.4.40.0090.00017.59
8.4.30.0060.00322.34
8.4.20.0150.00018.81
8.4.10.0060.00319.25
8.3.300.0130.00820.38
8.3.290.0110.00918.30
8.3.280.0120.00920.25
8.3.270.0140.00516.44
8.3.260.0060.00316.39
8.3.250.0130.00618.91
8.3.240.0080.01017.17
8.3.230.0120.00716.34
8.3.220.0050.00318.68
8.3.210.0090.00818.61
8.3.200.0050.00316.37
8.3.190.0130.00717.04
8.3.180.0120.01017.10
8.3.170.0070.01020.58
8.3.160.0000.00819.11
8.3.150.0120.00617.11
8.3.140.0060.01216.56
8.3.130.0060.00318.14
8.3.120.0040.01120.72
8.3.110.0000.00816.41
8.3.100.0040.00724.06
8.3.90.0070.00726.77
8.3.80.0030.00618.02
8.3.70.0090.01218.31
8.3.60.0060.01216.63
8.3.50.0170.00316.32
8.3.40.0110.00720.34
8.3.30.0110.00421.86
8.3.20.0050.00224.18
8.3.10.0000.00724.66
8.3.00.0060.00326.16
8.2.300.0130.00918.07
8.2.290.0030.00520.40
8.2.280.0040.00618.43
8.2.270.0040.00417.18
8.2.260.0070.01016.58
8.2.250.0110.00618.34
8.2.240.0090.00017.29
8.2.230.0030.00620.94
8.2.220.0040.00437.54
8.2.210.0070.00026.77
8.2.200.0050.00518.41
8.2.190.0060.00916.58
8.2.180.0100.01316.38
8.2.170.0060.00918.89
8.2.160.0070.01422.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00820.90
8.2.110.0090.01320.57
8.2.100.0070.01719.28
8.2.90.0290.00718.62
8.2.80.0180.00718.64
8.2.70.0330.00618.77
8.2.60.0280.00318.72
8.2.50.0310.00718.82
8.2.40.0210.01018.51
8.2.30.0100.01018.68
8.2.20.0200.00818.56
8.2.10.0180.01818.95
8.2.00.0270.00618.68
8.1.340.0110.00817.43
8.1.330.0120.00721.94
8.1.320.0120.00916.06
8.1.310.0040.00418.45
8.1.300.0120.00420.10
8.1.290.0030.00630.84
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0250.01118.38
8.1.230.0350.00018.21
8.1.220.0220.00618.51
8.1.210.0230.00719.79
8.1.200.0180.00518.27
8.1.190.0160.01018.28
8.1.180.0140.00318.10
8.1.170.0120.00018.35
8.1.160.0050.00818.68
8.1.150.0220.00620.28
8.1.140.0110.00718.43
8.1.130.0100.02118.34
8.1.120.0150.00018.38
8.1.110.0150.00018.59
8.1.100.0300.00718.44
8.1.90.0140.00718.43
8.1.80.0210.00418.40
8.1.70.0100.00318.86
8.1.60.0270.01018.58
8.1.50.0150.00418.42
8.1.40.0150.00018.71
8.1.30.0120.00018.91
8.1.20.0140.00318.74
8.1.10.0210.01018.74
8.1.00.0210.00318.74
8.0.300.0180.00617.66
8.0.290.0270.00817.82
8.0.280.0180.01417.67
8.0.270.0200.00717.48
8.0.260.0240.00717.83
8.0.250.0180.00717.59
8.0.240.0140.01117.58
8.0.230.0060.00918.26
8.0.220.0090.00417.74
8.0.210.0150.00417.64
8.0.200.0120.01217.68
8.0.190.0280.00617.70
8.0.180.0220.00317.87
8.0.170.0130.00017.71
8.0.160.0110.01117.73
8.0.150.0210.00317.77
8.0.140.0210.00017.57
8.0.130.0110.00318.12
8.0.120.0190.00017.73
8.0.110.0230.00717.82
8.0.100.0240.01017.68
8.0.90.0120.00917.85
8.0.80.0130.00417.63
8.0.70.0240.00917.83
8.0.60.0330.00317.74
8.0.50.0260.00717.73
8.0.30.0180.00717.73
8.0.20.0230.00617.83
8.0.10.0320.00717.94

preferences:
41.72 ms | 1100 KiB | 5 Q