3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formula = 'IF(B15="","",IF(ISNUMBER(A14),A14+1,IF(ISNUMBER(B3),B3+1,1)))'; echo preg_replace_callback('/\b([A-Z])(\d+)\b/', function ($m) { return $m[1] . (1 + $m[2]); }, $formula);

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.130.0080.00018.41
8.3.120.0110.00720.80
8.3.110.0060.00320.94
8.3.100.0030.00624.06
8.3.90.0110.00426.77
8.3.80.0060.00319.36
8.3.70.0130.00618.56
8.3.60.0040.01218.56
8.3.50.0080.00818.08
8.3.40.0110.00418.96
8.3.30.0150.00318.89
8.3.20.0080.00021.73
8.3.10.0040.00423.66
8.3.00.0000.00823.48
8.2.250.0000.00816.68
8.2.240.0130.00317.10
8.2.230.0030.00522.58
8.2.220.0080.00037.54
8.2.210.0110.00426.77
8.2.200.0000.00818.88
8.2.190.0070.01118.66
8.2.180.0070.00716.88
8.2.170.0070.01122.96
8.2.160.0110.00320.29
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.07
8.2.110.0050.00522.14
8.2.100.0040.00718.03
8.2.90.0040.00422.45
8.2.80.0040.00417.97
8.2.70.0000.00918.05
8.2.60.0040.00418.22
8.2.50.0080.00018.10
8.2.40.0000.00719.54
8.2.30.0040.00419.25
8.2.20.0040.00418.03
8.2.10.0080.00019.41
8.2.00.0000.00719.15
8.1.300.0000.00918.41
8.1.290.0000.01030.84
8.1.280.0040.01825.92
8.1.270.0060.00321.95
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.50
8.1.230.0040.00720.95
8.1.220.0080.00017.74
8.1.210.0060.00318.95
8.1.200.0060.00317.48
8.1.190.0090.00017.35
8.1.180.0100.00018.10
8.1.170.0050.00318.63
8.1.160.0070.00018.83
8.1.150.0090.00018.91
8.1.140.0000.00820.75
8.1.130.0070.00020.05
8.1.120.0050.00217.66
8.1.110.0000.00717.52
8.1.100.0000.00817.67
8.1.90.0050.00317.56
8.1.80.0040.00417.68
8.1.70.0040.00417.50
8.1.60.0000.00917.60
8.1.50.0020.00517.70
8.1.40.0030.00617.68
8.1.30.0060.00317.81
8.1.20.0000.00817.81
8.1.10.0000.00917.64
8.1.00.0030.00617.52
8.0.300.0050.00219.89
8.0.290.0000.00916.88
8.0.280.0030.00318.48
8.0.270.0040.00416.99
8.0.260.0030.00518.43
8.0.250.0040.00417.19
8.0.240.0000.00717.21
8.0.230.0050.00217.09
8.0.220.0000.00817.15
8.0.210.0040.00417.06
8.0.200.0000.00617.23
8.0.190.0040.00417.08
8.0.180.0080.00017.04
8.0.170.0040.00417.16
8.0.160.0070.00017.14
8.0.150.0000.00717.06
8.0.140.0030.00617.05
8.0.130.0000.00613.48
8.0.120.0040.00417.09
8.0.110.0040.00417.06
8.0.100.0050.00216.93
8.0.90.0050.00316.93
8.0.80.0100.00617.10
8.0.70.0050.00217.11
8.0.60.0040.00417.09
8.0.50.0070.00017.15
8.0.30.0030.01317.40
8.0.20.0130.00717.40
8.0.10.0040.00417.13
8.0.00.0160.00616.94
7.4.330.0050.00015.55
7.4.320.0000.00616.71
7.4.300.0000.00616.70
7.4.290.0040.00416.77
7.4.280.0040.00416.73
7.4.270.0030.00316.74
7.4.260.0000.00716.70
7.4.250.0040.00416.81
7.4.240.0040.00416.82
7.4.230.0030.00316.53
7.4.220.0040.00416.66
7.4.210.0060.00916.85
7.4.200.0000.00716.83
7.4.160.0100.00816.73
7.4.140.0100.00817.86
7.4.130.0090.00916.71
7.4.120.0070.01016.72
7.4.110.0070.01116.46
7.4.100.0090.00816.76
7.4.90.0090.01017.03
7.4.80.0120.00919.39
7.4.70.0060.01116.62
7.4.60.0070.01016.74
7.4.50.0040.01116.69
7.4.40.0070.01416.91
7.4.00.0090.00315.16
7.3.330.0030.00313.24
7.3.320.0030.00313.23
7.3.310.0050.00316.42
7.3.300.0070.00016.43
7.3.290.0030.00316.27
7.3.280.0070.00816.41
7.3.260.0120.00816.66
7.3.240.0100.00716.54
7.3.230.0150.00616.48
7.3.210.0050.01116.87
7.3.200.0100.01016.45
7.3.190.0130.00316.46
7.3.180.0120.00316.63
7.3.170.0080.00816.57
7.3.160.0160.00316.59
7.3.10.0590.00715.10
7.3.00.0580.00614.97
7.2.330.0100.00716.66
7.2.320.0060.01116.68
7.2.310.0120.00916.74
7.2.300.0120.00616.83
7.2.290.0030.01316.80
7.2.130.0410.00915.04
7.2.120.0600.00015.13
7.2.110.0560.01015.22
7.2.100.0560.01015.37
7.2.90.0520.01015.36
7.2.80.0560.00414.95
7.2.70.0440.00615.37
7.2.60.0510.01715.22
7.2.50.0590.01414.91
7.2.40.0730.01315.27
7.2.30.0580.00615.20
7.2.20.0540.01915.15
7.2.10.0810.00315.16
7.2.00.0520.01015.21
7.1.250.0550.00713.93

preferences:
29.73 ms | 403 KiB | 5 Q