3v4l.org

run code in 300+ PHP versions simultaneously
<?php $invoice_id ="May-Ann Jane-28188-1600086909"; $exploded = preg_split('/-(?=[0-9])/', $invoice_id,3 ); print_r($exploded);

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.20.0150.00624.29
8.4.10.0000.02019.41
8.3.150.0120.00618.66
8.3.140.0070.01116.46
8.3.130.0040.00418.24
8.3.120.0130.00618.98
8.3.110.0090.00020.94
8.3.100.0070.00316.90
8.3.90.0120.00318.29
8.3.80.0040.00416.75
8.3.70.0070.00716.58
8.3.60.0130.00716.36
8.3.50.0070.01423.65
8.3.40.0110.00420.02
8.3.30.0070.00718.89
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0030.00626.16
8.2.270.0000.01516.85
8.2.260.0100.00318.87
8.2.250.0160.00317.07
8.2.240.0100.00017.03
8.2.230.0060.00322.58
8.2.220.0130.00324.06
8.2.210.0050.00326.77
8.2.200.0060.00316.75
8.2.190.0120.00616.63
8.2.180.0110.00425.92
8.2.170.0180.00018.75
8.2.160.0000.01422.96
8.2.150.0090.00025.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00419.31
8.2.110.0060.00322.42
8.2.100.0040.00817.63
8.2.90.0030.00518.03
8.2.80.0000.00818.93
8.2.70.0000.00817.63
8.2.60.0000.00817.63
8.2.50.0030.00518.05
8.2.40.0000.00819.75
8.2.30.0020.00518.09
8.2.20.0040.00418.06
8.2.10.0000.00819.17
8.2.00.0000.00719.32
8.1.310.0040.00417.01
8.1.300.0040.00418.25
8.1.290.0000.01018.88
8.1.280.0110.00425.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00023.88
8.1.230.0070.00420.96
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00517.29
8.1.190.0000.00817.23
8.1.180.0020.00518.10
8.1.170.0080.00018.63
8.1.160.0000.00718.89
8.1.150.0050.00318.75
8.1.140.0080.00018.84
8.1.130.0040.00420.09
8.1.120.0050.00317.54
8.1.110.0040.00717.56
8.1.100.0030.00517.47
8.1.90.0040.00417.56
8.1.80.0060.00317.44
8.1.70.0070.00017.52
8.1.60.0030.00517.63
8.1.50.0040.00417.56
8.1.40.0040.00417.57
8.1.30.0000.00817.63
8.1.20.0000.00717.75
8.1.10.0000.00817.63
8.1.00.0010.01217.39
8.0.300.0000.00720.16
8.0.290.0070.00016.75
8.0.280.0030.00318.39
8.0.270.0030.00318.13
8.0.260.0050.00318.39
8.0.250.0030.00317.06
8.0.240.0070.00017.09
8.0.230.0000.00716.92
8.0.220.0020.00516.86
8.0.210.0070.00016.95
8.0.200.0040.00416.90
8.0.190.0000.00817.04
8.0.180.0000.00717.02
8.0.170.0080.00016.98
8.0.160.0040.00416.94
8.0.150.0030.00616.92
8.0.140.0090.00316.75
8.0.130.0000.00613.35
8.0.120.0070.00016.91
8.0.110.0000.00816.98
8.0.100.0000.00716.82
8.0.90.0070.00016.85
8.0.80.0050.01016.89
8.0.70.0040.00416.87
8.0.60.0030.00517.03
8.0.50.0080.00017.03
8.0.30.0040.01317.35
8.0.20.0090.00916.97
8.0.10.0070.00017.06
8.0.00.0060.01516.81
7.4.330.0050.00015.55
7.4.320.0000.00716.74
7.4.300.0070.00016.64
7.4.290.0000.00716.71
7.4.280.0090.00316.73
7.4.270.0030.00316.60
7.4.260.0040.00416.55
7.4.250.0000.00716.54
7.4.240.0040.00416.64
7.4.230.0040.00416.64
7.4.220.0020.00516.72
7.4.210.0070.00816.72
7.4.200.0070.00016.84
7.4.130.0090.00916.62
7.4.120.0070.01416.61
7.4.110.0100.00616.84
7.4.100.0210.00416.56
7.4.90.0080.01616.30
7.4.80.0070.01416.63
7.4.70.0100.01016.50
7.4.60.0060.01216.71
7.4.50.0090.00916.64
7.4.40.0110.00816.66
7.4.30.0100.00716.62
7.4.20.0120.00916.84
7.4.10.0100.01416.52
7.4.00.0100.00716.68
7.3.330.0040.00416.34
7.3.320.0000.00513.08
7.3.310.0070.00016.35
7.3.300.0060.00016.30
7.3.290.0090.00716.31
7.3.280.0060.01016.25
7.3.260.0160.00816.57
7.3.230.0100.00716.48
7.3.220.0040.01816.25
7.3.210.0100.01416.46
7.3.200.0100.01016.56
7.3.190.0060.01216.33
7.3.180.0000.01816.57
7.3.170.0100.01016.56
7.3.160.0150.00616.60
7.3.150.0070.01016.14
7.3.140.0150.00716.35
7.3.130.0140.00816.52
7.3.120.0070.01016.26
7.3.110.0130.00416.18
7.3.100.0060.01116.58
7.3.90.0120.00916.49
7.3.80.0150.00716.30
7.3.70.0120.00616.34
7.3.60.0090.00916.39
7.3.50.0120.00616.30
7.3.40.0200.00316.50
7.3.30.0140.00716.28
7.3.20.0070.01016.34
7.3.10.0130.00316.56
7.3.00.0100.00616.39
7.2.330.0130.00716.59
7.2.320.0030.01716.68
7.2.310.0040.01416.68
7.2.300.0140.00416.67
7.2.290.0130.01016.50
7.2.280.0130.00616.57
7.2.270.0060.01816.57
7.2.260.0100.01416.67
7.2.250.0090.00916.67
7.2.240.0080.01216.63
7.2.230.0100.01416.68
7.2.220.0090.01216.55
7.2.210.0120.00916.66
7.2.200.0100.00716.57
7.2.190.0070.01116.73
7.2.180.0120.00616.50
7.2.170.0100.01316.61
7.2.160.0060.01216.47
7.2.150.0070.01016.58
7.2.140.0130.00616.69
7.2.130.0100.00716.79
7.2.120.0070.01016.63
7.2.110.0100.00716.55
7.2.100.0070.01016.70
7.2.90.0080.00816.66
7.2.80.0120.00616.68
7.2.70.0030.01416.62
7.2.60.0180.00016.71
7.2.50.0070.01016.53
7.2.40.0030.01416.70
7.2.30.0040.01416.79
7.2.20.0090.00916.62
7.2.10.0030.01516.55
7.2.00.0150.00316.57

preferences:
28.93 ms | 403 KiB | 5 Q