3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '1AA/example/example'; $arr = preg_split('/(?<=[0-9])(?=[a-z]+)/i',$var); $arr[0] +=1; implode('',$arr); echo ($arr);

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.0060.01018.56
8.3.50.0150.00318.20
8.3.40.0040.01119.05
8.3.30.0060.00919.10
8.3.20.0000.00919.38
8.3.10.0080.00021.76
8.3.00.0080.00020.50
8.2.180.0110.00418.68
8.2.170.0110.00422.96
8.2.160.0100.00322.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00018.06
8.2.120.0090.00026.35
8.2.110.0150.00622.37
8.2.100.0090.00317.97
8.2.90.0080.00018.13
8.2.80.0000.00817.97
8.2.70.0040.00418.05
8.2.60.0040.00418.14
8.2.50.0030.00718.10
8.2.40.0060.00319.33
8.2.30.0080.00019.25
8.2.20.0040.00418.16
8.2.10.0030.00418.14
8.2.00.0050.00317.98
8.1.280.0060.00925.92
8.1.270.0030.00623.91
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00923.84
8.1.230.0090.00319.16
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0080.00017.35
8.1.190.0040.00417.23
8.1.180.0060.00318.10
8.1.170.0000.00818.79
8.1.160.0040.00418.83
8.1.150.0040.00418.90
8.1.140.0020.00522.16
8.1.130.0070.00020.29
8.1.120.0000.00717.52
8.1.110.0000.00717.56
8.1.100.0000.00717.56
8.1.90.0040.00417.54
8.1.80.0080.00017.49
8.1.70.0040.00417.57
8.1.60.0060.00317.63
8.1.50.0050.00317.65
8.1.40.0000.00817.58
8.1.30.0030.00617.63
8.1.20.0040.00417.74
8.1.10.0040.00417.78
8.1.00.0030.00517.63
8.0.300.0050.00218.77
8.0.290.0040.00416.87
8.0.280.0070.00018.46
8.0.270.0030.00517.27
8.0.260.0070.00018.47
8.0.250.0030.00317.14
8.0.240.0070.00017.18
8.0.230.0070.00017.02
8.0.220.0060.00317.08
8.0.210.0070.00017.17
8.0.200.0030.00317.18
8.0.190.0040.00417.11
8.0.180.0040.00417.09
8.0.170.0030.00617.13
8.0.160.0040.00417.10
8.0.150.0000.00817.05
8.0.140.0040.00417.07
8.0.130.0060.00013.50
8.0.120.0050.00317.04
8.0.110.0040.00416.96
8.0.100.0000.00717.07
8.0.90.0000.00817.14
8.0.80.0070.00817.09
8.0.70.0000.00716.92
8.0.60.0030.00517.07
8.0.50.0000.00717.14
8.0.30.0070.01217.34
8.0.20.0100.00917.40
8.0.10.0070.00017.00
8.0.00.0080.01016.81
7.4.330.0000.00515.55
7.4.320.0000.00616.64
7.4.300.0000.00616.74
7.4.290.0000.00716.65
7.4.280.0040.00416.73
7.4.270.0060.00316.73
7.4.260.0000.00716.70
7.4.250.0000.00716.57
7.4.240.0070.00016.75
7.4.230.0030.00316.77
7.4.220.0000.00716.68
7.4.210.0080.00716.67
7.4.200.0000.00716.78
7.4.160.0070.00816.76
7.4.140.0100.00917.86
7.4.130.0030.01316.80
7.4.120.0090.00816.68
7.4.110.0110.01416.77
7.4.100.0160.00316.64
7.4.90.0110.00616.76
7.4.80.0070.01119.39
7.4.70.0030.01316.71
7.4.60.0060.01716.78
7.4.50.0070.01016.70
7.4.40.0120.00416.57
7.4.00.0000.01715.22
7.3.330.0050.00013.46
7.3.320.0050.00013.37
7.3.310.0000.00816.59
7.3.300.0030.00316.52
7.3.290.0070.00016.49
7.3.280.0080.00816.52
7.3.260.0100.00816.57
7.3.240.0060.01216.51
7.3.230.0080.00916.75
7.3.210.0090.00916.50
7.3.200.0140.00316.83
7.3.190.0140.00716.69
7.3.180.0140.00716.61
7.3.170.0080.01016.49
7.3.160.0070.01016.66
7.2.330.0070.01116.74
7.2.320.0090.00916.59
7.2.310.0090.01616.66
7.2.300.0160.00016.62
7.2.290.0080.01016.90
7.2.110.0410.00614.96
7.2.100.0440.01314.85
7.2.90.0430.00314.75
7.2.80.0220.01214.66
7.2.70.0430.00314.78
7.2.60.0220.00715.01
7.2.50.0260.00615.13
7.2.40.0290.00415.06
7.2.30.0490.00615.12
7.2.20.0370.00015.22
7.2.10.0300.00615.17
7.2.00.0260.01015.13
7.1.230.0320.00813.71
7.1.220.0250.00613.97
7.1.210.0210.01014.29
7.1.200.0370.00714.13
7.1.190.0220.00914.02
7.1.180.0230.01013.89
7.1.170.0380.01013.81
7.1.160.0330.00313.72
7.1.150.0370.00613.88
7.1.140.0330.00014.13
7.1.130.0430.01014.13
7.1.120.0290.00614.17
7.1.110.0280.00013.94
7.1.100.0260.00614.21
7.1.90.0230.01014.18
7.1.80.0310.00314.07
7.1.70.0320.00614.11
7.1.60.0390.01031.82
7.1.50.1500.00332.16
7.1.40.0450.01332.29
7.1.30.0540.00732.04
7.1.20.0450.01031.75
7.1.10.0320.00314.01
7.1.00.0210.00714.06
5.6.380.0130.00014.50

preferences:
62.28 ms | 400 KiB | 5 Q