3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "The Quick : Brown Fox Jumped Over The Lazy / Dog"; $halfWay = (int)(strlen($text) / 2); var_export( preg_split( '~.{0,' . $halfWay . '}\K\s~s', $text, 2 ) );

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.00.0110.01219.91
8.4.150.0010.00114.05
8.4.140.0110.01018.00
8.4.130.0060.00318.73
8.4.120.0050.00322.43
8.4.110.0120.00920.52
8.4.100.0080.00717.95
8.4.90.0070.00318.78
8.4.80.0030.00619.83
8.4.70.0110.00917.79
8.4.60.0110.00818.68
8.4.50.0110.01020.62
8.4.40.0150.00619.90
8.4.30.0030.01620.32
8.4.20.0100.01018.88
8.4.10.0240.00717.74
8.3.280.0090.01118.37
8.3.270.0110.01016.77
8.3.260.0080.00316.68
8.3.250.0050.00318.90
8.3.240.0110.00716.76
8.3.230.0130.00616.63
8.3.220.0030.00517.09
8.3.210.0110.00616.72
8.3.200.0040.00716.72
8.3.190.0130.00617.04
8.3.180.0080.01016.92
8.3.170.0070.01117.24
8.3.160.0120.00618.94
8.3.150.0120.00618.94
8.3.140.0000.00816.84
8.3.130.0040.00418.59
8.3.120.0150.00419.05
8.3.110.0090.00016.66
8.3.100.0060.00316.46
8.3.90.0110.00426.77
8.3.80.0030.00619.36
8.3.70.0070.01418.45
8.3.60.0180.00416.50
8.3.50.0070.01519.88
8.3.40.0080.01218.82
8.3.30.0120.00919.00
8.3.20.0120.00024.18
8.3.10.0070.01124.66
8.3.00.0200.00026.16
8.2.290.0100.00920.48
8.2.280.0120.00718.71
8.2.270.0150.00417.13
8.2.260.0070.01117.01
8.2.250.0040.00416.82
8.2.240.0030.00716.93
8.2.230.0040.00420.94
8.2.220.0050.00524.06
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0170.00318.66
8.2.180.0090.01525.92
8.2.170.0100.01019.26
8.2.160.0090.00922.96
8.2.150.0120.00625.66
8.2.140.0100.01024.66
8.2.130.0040.01526.16
8.2.120.0040.00419.95
8.2.110.0100.00021.26
8.2.100.0030.00717.84
8.2.90.0000.00817.97
8.2.80.0040.00419.06
8.2.70.0030.00717.63
8.2.60.0000.00917.63
8.2.50.0040.00417.63
8.2.40.0060.00318.16
8.2.30.0040.00418.07
8.2.20.0040.00418.17
8.2.10.0040.00419.32
8.2.00.0040.00419.20
8.1.330.0100.00821.87
8.1.320.0110.00921.82
8.1.310.0060.01218.34
8.1.300.0120.00620.16
8.1.290.0070.00430.84
8.1.280.0150.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.02
8.1.230.0070.00420.84
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0000.00817.48
8.1.190.0030.00617.35
8.1.180.0030.00518.10
8.1.170.0030.00518.68
8.1.160.0050.00219.03
8.1.150.0040.00418.90
8.1.140.0000.00718.90
8.1.130.0040.00417.64
8.1.120.0000.00717.66
8.1.110.0080.00017.49
8.1.100.0000.00717.59
8.1.90.0080.00017.63
8.1.80.0000.00917.61
8.1.70.0090.00017.49
8.1.60.0090.00017.74
8.1.50.0030.00617.57
8.1.40.0080.00017.70
8.1.30.0000.01217.67
8.1.20.0030.00617.74
8.1.10.0040.00417.59
8.1.00.0030.00617.58
8.0.300.0040.00419.91
8.0.290.0030.00616.88
8.0.280.0030.00318.43
8.0.270.0070.00018.11
8.0.260.0000.00718.49
8.0.250.0040.00416.99
8.0.240.0040.00416.98
8.0.230.0070.00017.08
8.0.220.0050.00317.07
8.0.210.0000.00717.00
8.0.200.0030.00316.97
8.0.190.0030.00517.14
8.0.180.0000.00816.94
8.0.170.0000.00917.08
8.0.160.0040.00417.02
8.0.150.0050.00417.04
8.0.140.0090.00316.87
8.0.130.0080.00615.21
8.0.120.0090.00616.98
8.0.110.0110.00416.96
8.0.100.0100.00516.95
8.0.90.0080.00716.94
8.0.80.0110.00717.03
8.0.70.0110.00416.90
8.0.60.0090.00516.94
8.0.50.0090.00616.85
8.0.30.0110.00916.86
8.0.20.0150.00317.00
8.0.10.0140.00817.13
8.0.00.0100.00417.15
7.4.330.0000.00515.55
7.4.320.0000.00616.71
7.4.300.0030.00316.68
7.4.290.0080.00016.80
7.4.280.0030.00616.79
7.4.270.0040.00416.80
7.4.260.0130.00315.05
7.4.250.0080.00816.60
7.4.240.0070.00516.72
7.4.230.0150.00216.82
7.4.220.0120.00016.64
7.4.210.0090.00916.78
7.4.200.0080.00516.72
7.4.190.0180.00316.75
7.4.180.0100.01016.64
7.4.160.0090.00916.87
7.4.150.0080.01016.79
7.4.140.0160.00516.72
7.4.130.0150.00616.73
7.4.120.0130.01016.76
7.4.110.0090.01216.77
7.4.100.0100.01116.67
7.4.90.0140.00916.66
7.4.80.0140.00716.69
7.4.70.0100.00816.71
7.4.60.0080.00916.74
7.4.50.0150.00416.56
7.4.40.0140.00516.56
7.4.30.0120.00816.66
7.4.20.0120.00716.66
7.4.10.0090.00916.61
7.4.00.0110.00516.60
7.3.330.0100.00216.34
7.3.320.0110.00214.76
7.3.310.0090.00416.42
7.3.300.0090.00516.26
7.3.290.0110.00516.42
7.3.280.0130.00716.27
7.3.270.0140.00416.36
7.3.260.0100.00716.38
7.3.250.0160.00416.46
7.3.240.0110.00816.39
7.3.230.0140.00616.36
7.3.220.0140.00716.41
7.3.210.0090.00916.36
7.3.200.0100.00716.30
7.3.190.0070.01016.38
7.3.180.0040.01116.28
7.3.170.0080.00716.38
7.3.160.0110.01016.40
7.3.150.0090.01016.34
7.3.140.0120.00616.46
7.3.130.0100.00916.32
7.3.120.0110.00716.39
7.3.110.0060.01016.28
7.3.100.0030.01116.35
7.3.90.0090.00716.73
7.3.80.0120.00316.45
7.3.70.0100.00616.37
7.3.60.0090.00516.39
7.3.50.0110.00416.41
7.3.40.0080.00816.30
7.3.30.0070.00716.48
7.3.20.0090.00517.53
7.3.10.0050.00917.41
7.3.00.0120.00317.36

preferences:
151.63 ms | 403 KiB | 5 Q