3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bcsub('09' ,'3.5',1)."\n"; echo (int) ('0.1' + '0.7' * '10');

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.3.60.0070.01418.25
8.3.50.0140.00521.91
8.3.40.0060.00918.65
8.3.30.0100.00318.54
8.3.20.0070.00020.12
8.3.10.0040.00423.66
8.3.00.0000.00819.13
8.2.180.0090.00616.38
8.2.170.0140.00722.96
8.2.160.0100.00320.52
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0000.00820.52
8.2.120.0070.00026.35
8.2.110.0000.01022.11
8.2.100.0000.01117.93
8.2.90.0000.00819.23
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0060.00317.93
8.2.50.0030.00618.07
8.2.40.0030.00621.07
8.2.30.0040.00420.55
8.2.20.0030.00717.70
8.2.10.0020.00517.97
8.2.00.0050.00217.90
8.1.280.0110.00425.92
8.1.270.0050.00523.87
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0070.00320.40
8.1.230.0070.00419.10
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0070.00417.10
8.1.190.0040.00417.52
8.1.180.0040.00418.10
8.1.170.0030.00518.59
8.1.160.0000.00722.00
8.1.150.0000.00718.88
8.1.140.0000.00819.56
8.1.130.0030.00317.63
8.1.120.0050.00217.45
8.1.110.0040.00417.43
8.1.100.0060.00317.39
8.1.90.0040.00417.30
8.1.80.0040.00417.31
8.1.70.0030.00317.34
8.1.60.0110.00017.39
8.1.50.0040.00417.30
8.1.40.0030.00717.46
8.1.30.0030.00617.58
8.1.20.0030.00617.50
8.1.10.0050.00317.45
8.1.00.0000.00717.41
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.36
8.0.270.0050.00217.22
8.0.260.0000.00617.11
8.0.250.0040.00416.84
8.0.240.0000.00616.91
8.0.230.0030.00316.91
8.0.220.0000.00716.79
8.0.210.0000.00716.90
8.0.200.0000.00716.90
8.0.190.0090.00016.86
8.0.180.0030.00316.96
8.0.170.0050.00316.94
8.0.160.0000.00716.84
8.0.150.0000.00716.89
8.0.140.0000.00716.78
8.0.130.0000.00513.39
8.0.120.0060.00316.72
8.0.110.0000.00816.73
8.0.100.0000.00716.74
8.0.90.0080.00016.94
8.0.80.0190.00316.79
8.0.70.0000.00716.76
8.0.60.0080.00016.66
8.0.50.0070.00016.77
8.0.30.0120.00717.07
8.0.20.0130.00917.40
8.0.10.0040.00416.96
8.0.00.0120.00516.63
7.4.330.0060.00016.77
7.4.320.0030.00316.41
7.4.300.0000.00716.34
7.4.290.0070.00016.22
7.4.280.0030.00616.34
7.4.270.0070.00016.46
7.4.260.0000.00716.43
7.4.250.0000.00716.33
7.4.240.0030.00516.40
7.4.230.0050.00316.16
7.4.220.0150.00616.46
7.4.210.0000.01416.42
7.4.200.0070.00016.35
7.4.160.0090.00616.40
7.4.150.0100.01417.40
7.4.140.0140.00817.86
7.4.130.0090.00916.26
7.4.120.0120.00516.36
7.4.110.0030.01416.59
7.4.100.0120.00616.44
7.4.90.0040.01316.38
7.4.80.0100.01019.39
7.4.70.0100.01316.57
7.4.60.0150.00316.56
7.4.50.0070.00716.36
7.4.40.0120.01316.37
7.4.30.0060.01016.23
7.4.00.0030.01414.66
7.3.330.0020.00213.05
7.3.320.0030.00312.98
7.3.310.0070.00016.31
7.3.300.0070.00016.23
7.3.290.0070.00016.15
7.3.280.0070.01016.20
7.3.270.0100.01017.40
7.3.260.0150.01116.59
7.3.250.0100.00916.33
7.3.240.0090.01116.49
7.3.230.0070.01016.39
7.3.210.0070.01116.48
7.3.200.0030.01416.21
7.3.190.0070.00916.56
7.3.180.0090.01216.14
7.3.170.0110.00716.59
7.3.160.0120.00316.20
7.2.330.0140.00316.54
7.2.320.0030.01316.28
7.2.310.0100.00716.31
7.2.300.0110.00716.55
7.2.290.0060.01016.32
7.2.60.0090.00416.67
7.2.00.0000.01019.02
7.1.200.0070.00315.56
7.1.100.0030.00718.28
7.1.70.0100.00317.07
7.1.60.0040.01419.36
7.1.50.0160.01934.60
7.1.00.0000.08022.43
7.0.200.0060.00316.41
7.0.60.0170.05019.85
7.0.50.0170.07717.89
7.0.40.0070.07720.08
7.0.30.0400.07720.21
7.0.20.0370.07320.09
7.0.10.0030.08720.18
7.0.00.0100.06019.99
5.6.280.0000.06021.01
5.6.210.0200.06320.66
5.6.200.0030.05018.16
5.6.190.0100.05720.49
5.6.180.0530.07720.43
5.6.170.0330.06020.46
5.6.160.0030.04320.46
5.6.150.0100.03318.19
5.6.140.0100.06718.11
5.6.130.0030.06018.11
5.6.120.0070.06721.14
5.6.110.0000.09021.11
5.6.100.0100.08721.00
5.6.90.0170.07321.12
5.6.80.0170.07020.52
5.5.350.0200.07720.41
5.5.340.0030.08317.95
5.5.330.0130.08320.07
5.5.320.0300.07320.29
5.5.310.0270.05020.27
5.5.300.0100.08017.92
5.5.290.0100.03317.91
5.5.280.0070.08720.88
5.5.270.0070.08020.78
5.5.260.0000.04320.75
5.5.250.0100.07020.75
5.5.240.0230.07320.34

preferences:
59.03 ms | 401 KiB | 5 Q