3v4l.org

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

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.0040.01418.43
8.3.50.0070.01422.05
8.3.40.0070.00718.71
8.3.30.0160.00018.54
8.3.20.0070.00020.21
8.3.10.0040.00423.39
8.3.00.0000.00819.38
8.2.180.0100.01316.63
8.2.170.0040.01122.96
8.2.160.0090.00619.30
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.59
8.2.120.0040.00426.35
8.2.110.0100.00020.52
8.2.100.0070.00417.93
8.2.90.0000.00919.05
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0070.00417.93
8.2.50.0030.00518.07
8.2.40.0030.00619.26
8.2.30.0040.00420.64
8.2.20.0030.00717.64
8.2.10.0050.00317.82
8.2.00.0070.00017.92
8.1.280.0100.00325.92
8.1.270.0000.00823.96
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0030.00621.88
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.22
8.1.190.0080.00017.57
8.1.180.0000.00818.10
8.1.170.0030.00518.51
8.1.160.0040.00422.00
8.1.150.0030.00318.87
8.1.140.0040.00419.43
8.1.130.0080.00017.62
8.1.120.0040.00417.25
8.1.110.0030.00317.29
8.1.100.0060.00317.26
8.1.90.0000.00717.32
8.1.80.0040.00417.36
8.1.70.0070.00017.37
8.1.60.0040.00417.48
8.1.50.0000.00817.51
8.1.40.0080.00317.40
8.1.30.0000.00817.60
8.1.20.0040.00417.51
8.1.10.0030.00517.44
8.1.00.0000.00717.34
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.48
8.0.270.0040.00417.13
8.0.260.0020.00517.14
8.0.250.0030.00316.84
8.0.240.0030.00316.92
8.0.230.0000.00716.83
8.0.220.0050.00216.88
8.0.210.0060.00316.83
8.0.200.0030.00316.95
8.0.190.0040.00416.89
8.0.180.0020.00516.91
8.0.170.0030.00516.81
8.0.160.0030.00516.84
8.0.150.0050.00216.78
8.0.140.0030.00516.88
8.0.130.0050.00013.24
8.0.120.0030.00616.76
8.0.110.0000.00816.85
8.0.100.0000.00716.68
8.0.90.0040.00416.94
8.0.80.0150.00716.92
8.0.70.0000.00716.77
8.0.60.0090.00016.61
8.0.50.0000.00816.84
8.0.30.0130.00617.01
8.0.20.0130.00817.40
8.0.10.0040.00416.90
8.0.00.0080.01016.71
7.4.330.0000.00616.67
7.4.320.0000.00616.38
7.4.300.0000.00616.36
7.4.290.0030.00316.43
7.4.280.0100.00016.27
7.4.270.0030.00316.42
7.4.260.0030.00616.49
7.4.250.0040.00416.33
7.4.240.0010.00716.39
7.4.230.0000.00716.27
7.4.220.0060.01816.46
7.4.210.0100.00416.41
7.4.200.0000.00716.36
7.4.160.0000.01416.55
7.4.150.0170.00017.40
7.4.140.0130.00917.86
7.4.130.0120.00616.24
7.4.120.0120.00916.36
7.4.110.0090.00916.36
7.4.100.0070.01416.11
7.4.90.0080.01216.47
7.4.80.0190.01019.39
7.4.70.0000.01616.36
7.4.60.0060.00916.29
7.4.50.0060.00916.48
7.4.40.0090.00916.21
7.4.30.0090.00916.28
7.4.00.0030.01014.89
7.3.330.0020.00213.13
7.3.320.0050.00013.01
7.3.310.0070.00016.34
7.3.300.0000.00716.27
7.3.290.0030.00316.23
7.3.280.0110.00516.23
7.3.270.0200.00717.40
7.3.260.0030.01416.25
7.3.250.0120.00816.45
7.3.240.0080.01216.18
7.3.230.0100.00716.39
7.3.210.0090.00916.14
7.3.200.0070.01016.48
7.3.190.0100.00616.37
7.3.180.0030.01416.06
7.3.170.0110.00716.39
7.3.160.0090.01316.20
7.2.330.0090.00916.56
7.2.320.0100.00716.49
7.2.310.0130.01016.25
7.2.300.0140.00316.45
7.2.290.0100.00716.35
7.2.60.0040.00816.80
7.2.00.0000.01419.27
7.1.200.0220.00515.32
7.1.100.0060.00617.93
7.1.70.0060.00617.07
7.1.60.0100.01319.36
7.1.50.0170.01034.71
7.1.00.0030.07722.28
7.0.200.0030.00616.40
7.0.60.0070.07720.05
7.0.50.0070.08017.85
7.0.40.0130.08020.00
7.0.30.0500.03320.34
7.0.20.0330.08320.01
7.0.10.0100.05020.04
7.0.00.0070.08020.33
5.6.280.0070.07321.09
5.6.210.0100.05720.48
5.6.200.0130.09018.20
5.6.190.0070.07720.41
5.6.180.0500.06720.65
5.6.170.0270.07720.51
5.6.160.0030.04020.61
5.6.150.0000.04318.17
5.6.140.0030.06318.07
5.6.130.0070.08018.09
5.6.120.0170.07320.89
5.6.110.0100.08321.11
5.6.100.0100.08021.08
5.6.90.0100.08720.92
5.6.80.0100.07720.45
5.5.350.0200.05720.34
5.5.340.0070.04017.89
5.5.330.0130.07720.21
5.5.320.0370.06320.29
5.5.310.0300.04720.29
5.5.300.0230.05017.98
5.5.290.0070.04017.90
5.5.280.0100.05320.79
5.5.270.0030.06020.88
5.5.260.0030.04020.76
5.5.250.0130.07320.71
5.5.240.0200.07320.25

preferences:
40.6 ms | 401 KiB | 5 Q