3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'one "two" (three) -four-'; var_export( preg_split('/\w+\K/', $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.0120.01116.78
8.5.00.0100.01220.09
8.4.160.0130.00823.91
8.4.150.0020.00014.05
8.4.140.0120.01017.81
8.4.130.0120.00517.55
8.4.120.0060.01024.27
8.4.110.0100.00918.39
8.4.100.0080.00619.04
8.4.90.0140.00620.81
8.4.80.0110.00920.49
8.4.70.0110.00917.93
8.4.60.0140.00720.45
8.4.50.0120.00417.98
8.4.40.0160.00318.40
8.4.30.0110.00820.30
8.4.20.0070.01419.59
8.4.10.0000.00919.61
8.3.290.0130.00720.69
8.3.280.0140.00618.39
8.3.270.0110.00816.94
8.3.260.0110.00816.81
8.3.250.0100.00618.94
8.3.240.0100.00617.33
8.3.230.0120.00816.67
8.3.220.0110.00818.83
8.3.210.0080.01016.72
8.3.200.0050.00416.86
8.3.190.0100.00518.97
8.3.180.0050.00516.62
8.3.170.0070.00720.51
8.3.160.0090.00916.73
8.3.150.0110.00417.25
8.3.140.0110.00716.83
8.3.130.0100.00018.53
8.3.120.0100.01018.73
8.3.110.0050.00520.94
8.3.100.0110.00024.06
8.3.90.0050.00326.77
8.3.80.0040.00417.97
8.3.70.0090.00616.75
8.3.60.0160.00616.88
8.3.50.0140.00416.81
8.3.40.0100.01022.05
8.3.30.0100.00321.96
8.3.20.0060.00324.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0120.00920.46
8.2.290.0150.00420.65
8.2.280.0050.00318.44
8.2.270.0110.00717.02
8.2.260.0040.00416.82
8.2.250.0040.00418.79
8.2.240.0030.00617.17
8.2.230.0030.00622.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0030.00618.66
8.2.190.0000.01516.59
8.2.180.0120.00616.50
8.2.170.0140.00019.13
8.2.160.0110.00422.96
8.2.150.0080.00025.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00021.01
8.2.110.0090.00920.35
8.2.100.0090.00319.26
8.2.90.0330.00619.06
8.2.80.0210.01118.93
8.2.70.0270.00618.56
8.2.60.0130.00618.89
8.2.50.0140.00618.82
8.2.40.0110.00418.96
8.2.30.0120.00818.64
8.2.20.0160.00318.81
8.2.10.0200.01018.98
8.2.00.0180.00418.82
8.1.340.0120.01117.66
8.1.330.0100.00921.97
8.1.320.0080.01116.32
8.1.310.0130.00616.38
8.1.300.0030.00618.70
8.1.290.0030.00630.84
8.1.280.0140.00425.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0130.00318.57
8.1.230.0140.00318.63
8.1.220.0120.00418.63
8.1.210.0100.00719.82
8.1.200.0090.00918.52
8.1.190.0090.00618.45
8.1.180.0240.01218.57
8.1.170.0270.00618.75
8.1.160.0210.00418.71
8.1.150.0180.00620.70
8.1.140.0110.00718.30
8.1.130.0130.00318.56
8.1.120.0160.00318.45
8.1.110.0250.00618.68
8.1.100.0250.00718.44
8.1.90.0270.00318.66
8.1.80.0190.00618.62
8.1.70.0140.00418.45
8.1.60.0090.00918.72
8.1.50.0190.00018.69
8.1.40.0200.00618.78
8.1.30.0090.01518.96
8.1.20.0250.01118.67
8.1.10.0320.00018.75
8.1.00.0170.01418.51
8.0.300.0240.01017.93
8.0.290.0100.00717.95
8.0.280.0240.00617.96
8.0.270.0240.00318.01
8.0.260.0130.00417.94
8.0.250.0330.00418.15
8.0.240.0310.00318.09
8.0.230.0200.01018.21
8.0.220.0320.00617.64
8.0.210.0070.01017.97
8.0.200.0200.00417.91
8.0.190.0330.00318.00
8.0.180.0180.00418.08
8.0.170.0200.00817.96
8.0.160.0240.00017.96
8.0.150.0250.00718.01
8.0.140.0290.00617.92
8.0.130.0280.00418.04
8.0.120.0290.00617.73
8.0.110.0350.00017.88
8.0.100.0340.00317.85
8.0.90.0340.00317.89
8.0.80.0280.01018.03
8.0.70.0230.00317.99
8.0.60.0330.00317.91
8.0.50.0240.00817.63
8.0.30.0270.01017.69
8.0.20.0120.00618.13
8.0.10.0140.00717.91

preferences:
32.36 ms | 403 KiB | 5 Q