3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '1d20+3d6-4d8+10'; print_r(preg_split('/(?=[+-])/', $string));

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.4.10.0040.00419.86
8.3.140.0110.00716.85
8.3.130.0040.01416.82
8.3.120.0160.00319.04
8.3.110.0060.00316.74
8.3.100.0060.00324.06
8.3.90.0000.00826.77
8.3.80.0100.00019.36
8.3.70.0120.00316.63
8.3.60.0140.00016.75
8.3.50.0120.00523.77
8.3.40.0060.00918.84
8.3.30.0040.01118.76
8.3.20.0050.00320.70
8.3.10.0040.00423.66
8.3.00.0040.00423.65
8.2.260.0080.00018.92
8.2.250.0080.00016.95
8.2.240.0060.00917.20
8.2.230.0130.00620.94
8.2.220.0100.00037.54
8.2.210.0080.00026.77
8.2.200.0030.00618.88
8.2.190.0130.00918.66
8.2.180.0090.00616.75
8.2.170.0120.00922.96
8.2.160.0030.01020.44
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00420.08
8.2.110.0030.00622.33
8.2.100.0030.00918.03
8.2.90.0030.00518.05
8.2.80.0000.00820.59
8.2.70.0060.00317.75
8.2.60.0040.00417.50
8.2.50.0050.00317.75
8.2.40.0000.00818.29
8.2.30.0040.00418.08
8.2.20.0040.00418.17
8.2.10.0040.00419.26
8.2.00.0040.00419.27
8.1.310.0110.00718.32
8.1.300.0060.00318.04
8.1.290.0040.00430.84
8.1.280.0070.00725.92
8.1.270.0090.00023.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0110.00021.66
8.1.230.0080.00422.64
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00317.60
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0050.00318.58
8.1.160.0040.00418.79
8.1.150.0050.00319.15
8.1.140.0000.00720.74
8.1.130.0000.00717.60
8.1.120.0030.00317.53
8.1.110.0000.00717.46
8.1.100.0000.00717.43
8.1.90.0000.00817.56
8.1.80.0040.00417.46
8.1.70.0080.00017.50
8.1.60.0030.00517.61
8.1.50.0000.00817.63
8.1.40.0000.00817.60
8.1.30.0030.00517.66
8.1.20.0040.00817.76
8.1.10.0030.00517.50
8.1.00.0040.00417.48
8.0.300.0040.00419.98
8.0.290.0050.00216.75
8.0.280.0000.00718.36
8.0.270.0070.00018.14
8.0.260.0000.00816.84
8.0.250.0030.00317.08
8.0.240.0030.00317.11
8.0.230.0000.00717.04
8.0.220.0030.00317.04
8.0.210.0030.00316.88
8.0.200.0030.00317.10
8.0.190.0030.00517.14
8.0.180.0030.00517.03
8.0.170.0030.00617.04
8.0.160.0000.00716.90
8.0.150.0040.00417.05
8.0.140.0050.00216.92
8.0.130.0060.00013.47
8.0.120.0020.00517.02
8.0.110.0070.00017.13
8.0.100.0030.00616.94
8.0.90.0030.00616.98
8.0.80.0020.01517.00
8.0.70.0080.00017.13
8.0.60.0050.00317.07
8.0.50.0040.00417.05
8.0.30.0160.00017.19
8.0.20.0130.00717.33
8.0.10.0040.00417.02
8.0.00.0070.01116.96
7.4.330.0000.00616.86
7.4.320.0030.00316.82
7.4.300.0000.00616.82
7.4.290.0000.00716.83
7.4.280.0040.00416.61
7.4.270.0030.00316.72
7.4.260.0050.00013.47
7.4.250.0040.00416.60
7.4.240.0000.00816.75
7.4.230.0030.00516.79
7.4.220.0050.00216.75
7.4.210.0060.01216.87
7.4.200.0030.00616.75
7.4.140.0070.01117.86
7.4.130.0080.00816.70
7.4.120.0070.01616.71
7.4.110.0110.00716.46
7.4.100.0150.00916.61
7.4.90.0130.00416.57
7.4.80.0120.00919.39
7.4.70.0130.00316.57
7.4.60.0060.01016.50
7.4.50.0060.00916.65
7.4.40.0130.00316.64
7.4.10.0090.00816.52
7.4.00.0070.01016.54
7.3.330.0000.00616.33
7.3.320.0000.00513.08
7.3.310.0030.00316.21
7.3.300.0000.00816.32
7.3.290.0090.00616.38
7.3.260.0070.01616.32
7.3.240.0090.00816.54
7.3.230.0130.00716.28
7.3.210.0000.01816.30
7.3.200.0140.00616.21
7.3.190.0140.00516.33
7.3.180.0150.00316.42
7.3.170.0160.00716.64
7.3.160.0090.00916.51
7.3.130.0000.01416.25
7.3.120.0070.01116.22
7.3.110.0060.01016.36
7.3.100.0030.01216.54
7.3.90.0120.00316.21
7.3.80.0100.01016.67
7.3.70.0100.00616.32
7.3.60.0040.01416.30
7.3.50.0030.01016.30
7.3.40.0120.00316.52
7.3.30.0180.00416.38
7.3.20.0040.01116.38
7.3.10.0190.00916.27
7.3.00.0090.00616.34
7.2.330.0040.01516.50
7.2.320.0110.00716.43
7.2.310.0070.01116.72
7.2.300.0120.00616.47
7.2.290.0090.01216.74
7.2.260.0120.00316.46
7.2.250.0050.00916.60
7.2.240.0100.01016.46
7.2.230.0130.00316.63
7.2.220.0080.00816.57
7.2.210.0090.00616.41
7.2.200.0060.01316.54
7.2.190.0030.01316.40
7.2.180.0100.00716.36
7.2.170.0090.00916.46
7.2.160.0040.01416.66
7.2.150.0130.00616.55
7.2.140.0040.01416.61
7.2.130.0090.00916.71
7.2.120.0160.00016.48
7.2.110.0060.00916.63
7.2.100.0060.00916.62
7.2.90.0070.01116.62
7.2.80.0070.00716.50
7.2.70.0100.01016.41
7.2.60.0060.00916.38
7.2.50.0050.01416.61
7.2.40.0170.00016.74
7.2.30.0110.00716.54
7.2.20.0070.01316.54
7.2.10.0030.01416.62
7.2.00.0060.01216.53

preferences:
28.81 ms | 403 KiB | 5 Q