3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'one "two" (three) -four-'; var_export( preg_split('/\b/', $test) );

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.01116.86
8.5.00.0130.00819.92
8.4.160.0140.00723.84
8.4.150.0020.00014.05
8.4.140.0100.01217.49
8.4.130.0060.00719.01
8.4.120.0100.01124.13
8.4.110.0100.00920.46
8.4.100.0130.00718.73
8.4.90.0110.00720.74
8.4.80.0130.00718.56
8.4.70.0130.00717.97
8.4.60.0150.00718.55
8.4.50.0110.01017.78
8.4.40.0100.01018.76
8.4.30.0130.00620.80
8.4.20.0130.00718.07
8.4.10.0090.00019.36
8.3.290.0100.00920.91
8.3.280.0120.00820.44
8.3.270.0100.01016.56
8.3.260.0110.00916.54
8.3.250.0140.00318.77
8.3.240.0140.00516.98
8.3.230.0120.00716.54
8.3.220.0050.00319.14
8.3.210.0020.00616.61
8.3.200.0050.00416.74
8.3.190.0040.00417.14
8.3.180.0110.00717.09
8.3.170.0160.00318.71
8.3.160.0000.00816.69
8.3.150.0040.01120.70
8.3.140.0040.01216.91
8.3.130.0030.00618.41
8.3.120.0120.00618.70
8.3.110.0050.00316.63
8.3.100.0090.00316.54
8.3.90.0070.01126.77
8.3.80.0060.00318.55
8.3.70.0100.00716.75
8.3.60.0170.00716.63
8.3.50.0070.00718.59
8.3.40.0170.00322.00
8.3.30.0100.00321.86
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.300.0090.01020.27
8.2.290.0040.00422.38
8.2.280.0120.00718.30
8.2.270.0140.00417.18
8.2.260.0000.00918.41
8.2.250.0040.00416.39
8.2.240.0040.00716.94
8.2.230.0120.00320.94
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0090.00017.00
8.2.190.0110.01116.75
8.2.180.0140.00416.75
8.2.170.0110.00419.13
8.2.160.0070.00722.96
8.2.150.0030.00525.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0060.00318.99
8.2.110.0100.01022.26
8.2.100.0080.00820.91
8.2.90.0210.01119.05
8.2.80.0100.00718.65
8.2.70.0160.00318.84
8.2.60.0140.00618.71
8.2.50.0220.01318.81
8.2.40.0110.01118.73
8.2.30.0240.00618.82
8.2.20.0230.00318.77
8.2.10.0260.00318.95
8.2.00.0170.01018.91
8.1.340.0120.00817.70
8.1.330.0090.00721.76
8.1.320.0090.00116.42
8.1.310.0030.00716.52
8.1.300.0040.00416.29
8.1.290.0070.00430.84
8.1.280.0180.00325.92
8.1.270.0070.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00618.54
8.1.230.0150.00318.61
8.1.220.0300.00318.46
8.1.210.0110.01119.84
8.1.200.0200.00718.50
8.1.190.0100.00518.41
8.1.180.0070.01018.51
8.1.170.0110.00518.64
8.1.160.0090.00518.69
8.1.150.0070.00720.55
8.1.140.0170.00018.61
8.1.130.0200.01318.61
8.1.120.0120.00618.56
8.1.110.0150.01118.70
8.1.100.0140.00418.63
8.1.90.0170.00718.46
8.1.80.0220.00718.37
8.1.70.0040.01518.68
8.1.60.0250.01118.75
8.1.50.0180.00618.63
8.1.40.0160.00018.60
8.1.30.0110.00419.04
8.1.20.0110.00718.68
8.1.10.0130.00318.62
8.1.00.0100.00518.50
8.0.300.0150.00317.95
8.0.290.0190.00517.90
8.0.280.0120.00317.94
8.0.270.0310.00317.98
8.0.260.0270.00717.79
8.0.250.0140.01818.04
8.0.240.0150.00917.87
8.0.230.0190.00318.20
8.0.220.0120.00418.09
8.0.210.0160.00017.93
8.0.200.0230.00317.87
8.0.190.0160.00018.00
8.0.180.0090.00618.01
8.0.170.0140.00517.99
8.0.160.0220.00617.98
8.0.150.0250.00017.80
8.0.140.0210.00417.91
8.0.130.0150.00018.08
8.0.120.0190.00317.74
8.0.110.0220.01118.08
8.0.100.0340.00717.94
8.0.90.0230.00317.94
8.0.80.0250.00617.73
8.0.70.0170.00017.95
8.0.60.0150.00318.00
8.0.50.0140.00417.91
8.0.30.0100.00718.05
8.0.20.0290.01017.95
8.0.10.0290.00618.14

preferences:
63.87 ms | 403 KiB | 5 Q