3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exp = "ukuran:33,34,35;warna:putih,hitam"; Preg_match_all("/(\d+)|([a-zA-Z]+)/", $exp, $matches); Unset($matches[0]); $matches[1] = array_filter($matches[1]); $matches[2] = array_filter($matches[2]); Var_dump($matches);

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.5.10.0090.00917.07
8.5.00.0110.01021.88
8.4.150.0020.00014.05
8.4.140.0130.00817.72
8.4.130.0110.01017.86
8.4.120.0110.00822.73
8.4.110.0120.00819.09
8.4.100.0150.00718.05
8.4.90.0120.00817.86
8.4.80.0130.00719.77
8.4.70.0110.00918.13
8.4.60.0110.00518.78
8.4.50.0090.01318.01
8.4.40.0100.01017.95
8.4.30.0070.01317.82
8.4.20.0080.01219.73
8.4.10.0030.01717.71
8.3.280.0030.00014.05
8.3.270.0090.01116.80
8.3.260.0120.00716.48
8.3.250.0110.00919.06
8.3.240.0110.00816.59
8.3.230.0120.00816.64
8.3.220.0100.00817.06
8.3.210.0080.00716.57
8.3.200.0050.00416.92
8.3.190.0120.00716.68
8.3.180.0130.00316.72
8.3.170.0100.00616.63
8.3.160.0040.00418.42
8.3.150.0100.01017.13
8.3.140.0080.00016.65
8.3.130.0030.00518.27
8.3.120.0060.00320.69
8.3.110.0030.00620.94
8.3.100.0100.00024.06
8.3.90.0130.00726.77
8.3.80.0030.00619.36
8.3.70.0150.00616.88
8.3.60.0150.00318.55
8.3.50.0100.00318.08
8.3.40.0080.00618.96
8.3.30.0120.00318.92
8.3.20.0050.00319.15
8.3.10.0040.00423.30
8.3.00.0050.00223.56
8.2.290.0100.00818.98
8.2.280.0050.00520.62
8.2.270.0070.00516.56
8.2.260.0030.00617.19
8.2.250.0080.00017.02
8.2.240.0060.00317.08
8.2.230.0040.00422.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0030.00618.88
8.2.190.0140.00418.44
8.2.180.0130.00318.41
8.2.170.0070.00718.91
8.2.160.0060.01019.26
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00020.52
8.2.120.0040.00426.35
8.2.110.0100.00021.20
8.2.100.0100.00319.67
8.2.90.0080.00019.89
8.2.80.0040.00417.97
8.2.70.0050.00518.03
8.2.60.0080.00018.16
8.2.50.0040.00418.10
8.2.40.0050.00219.43
8.2.30.0020.00520.52
8.2.20.0000.00718.10
8.2.10.0050.00318.09
8.2.00.0040.00419.50
8.1.330.0110.00816.14
8.1.320.0110.00816.52
8.1.310.0070.01016.56
8.1.300.0060.00320.31
8.1.290.0030.00630.84
8.1.280.0090.00625.92
8.1.270.0030.00520.40
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0050.00523.99
8.1.230.0120.00021.03
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0030.00618.66
8.1.160.0060.00318.80
8.1.150.0070.00018.80
8.1.140.0000.00819.09
8.1.130.0030.00319.08
8.1.120.0040.00417.38
8.1.110.0040.00417.57
8.1.100.0000.00717.52
8.1.90.0000.01117.53
8.1.80.0000.00717.46
8.1.70.0000.00917.43
8.1.60.0030.00617.69
8.1.50.0060.00317.55
8.1.40.0030.00517.59
8.1.30.0040.00417.74
8.1.20.0030.00517.73
8.1.10.0080.00017.68
8.1.00.0090.00317.52
8.0.300.0040.00419.77
8.0.290.0000.00916.75
8.0.280.0000.00818.28
8.0.270.0030.00317.22
8.0.260.0000.00617.17
8.0.250.0060.00017.00
8.0.240.0000.00817.02
8.0.230.0070.00016.97
8.0.220.0050.00516.85
8.0.210.0030.00316.86
8.0.200.0000.00617.05
8.0.190.0040.00417.04
8.0.180.0080.00017.04
8.0.170.0050.00316.94
8.0.160.0030.00516.99
8.0.150.0070.00017.02
8.0.140.0000.00716.99
8.0.130.0030.00513.36
8.0.120.0040.00416.83
8.0.110.0040.00416.96
8.0.100.0040.00417.00
8.0.90.0040.00416.86
8.0.80.0090.00716.96
8.0.70.0080.00016.75
8.0.60.0030.00316.76
8.0.50.0050.00316.99
8.0.30.0130.00617.18
8.0.20.0070.01317.40
8.0.10.0040.00417.05
8.0.00.0090.00916.92
7.4.330.0050.00015.55
7.4.320.0070.00016.80
7.4.300.0070.00016.76
7.4.290.0040.00416.71
7.4.280.0000.00716.70
7.4.270.0040.00416.81
7.4.260.0040.00416.80
7.4.250.0000.00716.81
7.4.240.0030.00316.86
7.4.230.0040.00416.65
7.4.220.0060.00316.89
7.4.210.0110.00616.76
7.4.200.0070.00016.83
7.4.160.0080.01016.62
7.4.140.0050.01217.86
7.4.130.0000.01816.81
7.4.120.0070.01116.69
7.4.110.0070.01016.83
7.4.100.0060.01216.72
7.4.90.0070.01116.74
7.4.80.0060.01219.39
7.4.70.0110.01116.70
7.4.60.0100.00616.60
7.4.50.0070.00616.60
7.4.40.0100.01416.77
7.4.00.0060.00914.91
7.3.330.0030.00313.15
7.3.320.0000.00513.32
7.3.310.0040.00416.51
7.3.300.0030.00316.45
7.3.290.0000.00716.34
7.3.280.0050.01016.46
7.3.260.0090.01016.54
7.3.240.0080.01316.45
7.3.230.0130.00516.61
7.3.210.0080.00816.75
7.3.200.0050.01316.48
7.3.190.0060.01016.77
7.3.180.0060.01016.55
7.3.170.0070.01716.42
7.3.160.0110.00516.46
7.3.120.0060.01315.22
7.3.110.0070.01115.18
7.3.100.0000.01814.84
7.3.90.0030.01514.89
7.3.80.0060.00915.03
7.3.70.0060.00914.91
7.3.60.0100.00015.09
7.3.50.0070.00714.92
7.3.40.0100.00315.05
7.3.30.0040.00814.92
7.3.20.0090.00616.97
7.3.10.0090.00016.87
7.3.00.0090.00616.97
7.2.330.0100.01016.75
7.2.320.0070.01116.71
7.2.310.0100.00716.75
7.2.300.0090.01516.67
7.2.290.0070.01116.70
7.2.240.0070.01115.06
7.2.230.0000.01515.11
7.2.220.0060.01015.35
7.2.210.0030.01314.94
7.2.200.0070.00714.90
7.2.190.0080.00815.04
7.2.180.0030.01015.16
7.2.170.0060.01214.96
7.2.160.0040.01115.15
7.2.150.0030.01217.01
7.2.140.0040.00716.75
7.2.130.0100.00316.64
7.2.120.0000.01017.02
7.2.110.0110.00016.92
7.2.100.0090.00617.08
7.2.90.0060.01017.18
7.2.80.1200.00816.00
7.2.70.0710.00816.10
7.2.60.0800.00316.13
7.2.50.0920.00915.68
7.2.40.0620.00216.01
7.2.30.1390.00716.13
7.2.20.1350.00516.02
7.2.10.0900.01216.01
7.2.00.0810.00515.78
7.1.330.0070.01016.27
7.1.320.0030.01316.13
7.1.310.0040.01116.02
7.1.300.0030.00616.07
7.1.290.0000.01716.12
7.1.280.0050.00515.84
7.1.270.0090.00616.00
7.1.260.0030.00516.05
7.1.250.0090.00915.92
7.1.200.0070.00715.69
7.1.190.2520.01013.97
7.1.180.1120.01014.20
7.1.170.1190.00713.90
7.1.160.1460.01313.93
7.1.150.1840.00714.02
7.1.140.1350.01313.89
7.1.130.1380.00014.20
7.1.120.2210.01313.94
7.1.110.2250.01013.89
7.1.100.1530.01614.13
7.1.90.1300.00014.05
7.1.80.1450.00313.85
7.1.70.1290.00914.04
7.1.60.1450.01031.74
7.1.50.2300.01032.13
7.1.40.2240.00631.81
7.1.30.2690.01031.80
7.1.20.2220.00732.03
7.1.10.1730.00714.06
7.1.00.1050.01013.93

preferences:
40.92 ms | 403 KiB | 5 Q