3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = 'color=blue,red,weight=100kg,another=one,two,three,four,okay=enough,'; var_export(preg_split('~,(?=[^,]+=)~', rtrim($input, ','), 0, PREG_SPLIT_NO_EMPTY));

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.120.0060.00318.73
8.3.110.0000.00820.94
8.3.100.0090.00024.06
8.3.90.0040.00426.77
8.3.80.0000.01018.31
8.3.70.0070.01416.50
8.3.60.0160.00318.16
8.3.50.0120.00622.00
8.3.40.0150.00618.79
8.3.30.0040.01118.86
8.3.20.0040.00421.82
8.3.10.0040.00422.11
8.3.00.0040.00423.65
8.2.240.0090.00618.84
8.2.230.0100.00622.58
8.2.220.0090.00037.54
8.2.210.0080.00826.77
8.2.200.0090.00018.41
8.2.190.0160.00316.58
8.2.180.0140.00716.63
8.2.170.0150.00022.96
8.2.160.0100.00322.38
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00018.90
8.2.110.0040.00422.25
8.2.100.0090.00317.91
8.2.90.0040.00417.75
8.2.80.0030.00518.86
8.2.70.0060.00317.80
8.2.60.0060.00318.09
8.2.50.0060.00318.10
8.2.40.0030.00521.21
8.2.30.0040.00419.30
8.2.20.0000.00718.04
8.2.10.0040.00419.26
8.2.00.0000.00819.10
8.1.300.0050.00518.42
8.1.290.0060.00330.84
8.1.280.0070.01425.92
8.1.270.0040.00422.14
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00322.18
8.1.230.0000.01217.59
8.1.220.0000.00917.74
8.1.210.0030.00518.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0050.00318.71
8.1.160.0040.00418.86
8.1.150.0040.00418.95
8.1.140.0040.00420.81
8.1.130.0070.00019.96
8.1.120.0060.00317.44
8.1.110.0040.00417.55
8.1.100.0030.00317.55
8.1.90.0050.00317.45
8.1.80.0000.00817.54
8.1.70.0000.00917.44
8.1.60.0000.00817.59
8.1.50.0000.00817.52
8.1.40.0000.00817.55
8.1.30.0030.00617.61
8.1.20.0040.00417.77
8.1.10.0030.00517.55
8.1.00.0030.00517.57
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0040.00418.32
8.0.270.0000.00716.90
8.0.260.0000.00620.01
8.0.250.0040.00416.93
8.0.240.0030.00317.10
8.0.230.0070.00017.02
8.0.220.0070.00017.02
8.0.210.0030.00317.02
8.0.200.0050.00516.92
8.0.190.0070.00017.02
8.0.180.0030.00616.95
8.0.170.0040.00416.88
8.0.160.0040.00416.99
8.0.150.0070.00016.91
8.0.140.0000.00716.82
8.0.130.0000.00613.42
8.0.120.0040.00416.91
8.0.110.0070.00016.94
8.0.100.0000.00716.80
8.0.90.0030.00516.97
8.0.80.0030.01116.99
8.0.70.0000.00716.76
8.0.60.0040.00416.92
8.0.50.0070.00017.01
8.0.30.0110.00817.17
8.0.20.0130.00617.15
8.0.10.0000.00717.15
8.0.00.0090.01016.79
7.4.330.0050.00015.55
7.4.320.0030.00316.65
7.4.300.0030.00316.53
7.4.290.0040.00416.66
7.4.280.0040.00416.62
7.4.270.0070.00316.73
7.4.260.0030.00313.34
7.4.250.0000.00716.60
7.4.240.0020.00516.64
7.4.230.0030.00516.73
7.4.220.0040.00416.65
7.4.210.0090.00816.72
7.4.200.0000.00716.80
7.4.130.0160.01016.54
7.4.120.0070.01016.57
7.4.110.0110.00916.48
7.4.100.0140.00316.55
7.4.90.0040.01416.62
7.4.80.0110.00719.39
7.4.70.0070.01016.67
7.4.60.0100.00616.55
7.4.50.0080.00716.48
7.4.40.0040.01116.73
7.4.00.0070.00715.20
7.3.330.0030.00316.43
7.3.320.0060.00013.00
7.3.310.0000.00716.21
7.3.300.0000.00716.28
7.3.290.0030.00516.26
7.3.280.0060.00916.16
7.3.260.0090.01016.40
7.3.240.0130.00416.43
7.3.230.0060.01216.49
7.3.210.0080.00816.37
7.3.200.0110.01116.43
7.3.190.0140.00316.32
7.3.180.0070.01016.71
7.3.170.0070.01016.50
7.3.160.0030.01416.39
7.3.70.0070.00414.90
7.3.60.0070.00714.79
7.3.50.0150.00614.69
7.3.40.0070.00514.63
7.3.30.0110.00714.84
7.3.20.0360.00714.95
7.3.10.1210.00714.64
7.3.00.0160.00314.83
7.2.330.0030.01416.42
7.2.320.0060.01016.37
7.2.310.0030.01416.67
7.2.300.0130.00316.41
7.2.290.0060.01116.70
7.2.200.0070.00414.83
7.2.190.0100.00514.80
7.2.180.0060.01115.11
7.2.170.0050.00815.00
7.2.160.0140.00315.09
7.2.150.0140.00915.16
7.2.140.0140.00715.07
7.2.130.0190.00314.95
7.2.120.0160.01215.15
7.2.110.0220.00315.02
7.2.100.0130.01014.96
7.2.90.0200.00414.97
7.2.80.0190.00014.92
7.2.70.0110.00814.96
7.2.60.0120.00615.13
7.2.50.0190.00015.13
7.2.40.0100.01415.00
7.2.30.0120.00815.31
7.2.20.0190.00014.91
7.2.10.0150.00715.11
7.2.00.0150.00315.19
7.1.300.0220.00714.21
7.1.290.0180.00313.84
7.1.280.0280.00413.87
7.1.270.0130.01013.91
7.1.260.0170.00014.06
7.1.250.0230.00614.00

preferences:
28.61 ms | 403 KiB | 5 Q