3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = "a b\n\nc"; var_dump(preg_split('/\s/', $output, NULL, 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.5.20.0120.00520.23
8.5.10.0090.00916.98
8.5.00.0130.00820.23
8.4.170.0170.00523.90
8.4.160.0110.01323.88
8.4.150.0030.00014.05
8.4.140.0110.01218.00
8.4.130.0180.00618.26
8.4.120.0160.00719.21
8.4.110.0120.00818.35
8.4.100.0160.00718.39
8.4.90.0160.00719.20
8.4.80.0100.00619.23
8.4.70.0260.00718.47
8.4.60.0280.00717.78
8.4.50.0250.00817.89
8.4.40.0270.00617.72
8.4.30.0220.00717.74
8.4.20.0280.00517.76
8.4.10.0270.00817.70
8.3.300.0100.01020.84
8.3.290.0130.00820.85
8.3.280.0130.00818.46
8.3.270.0110.00816.98
8.3.260.0100.00516.72
8.3.250.0120.00716.86
8.3.240.0130.00316.85
8.3.230.0160.00616.52
8.3.220.0140.00617.41
8.3.210.0210.00616.68
8.3.200.0270.00616.64
8.3.190.0330.00516.62
8.3.180.0290.00616.74
8.3.170.0260.00716.55
8.3.160.0200.00516.71
8.3.150.0190.00516.72
8.3.140.0180.00516.71
8.3.130.0180.00216.79
8.3.120.0170.00316.67
8.3.110.0180.00316.65
8.3.100.0210.00416.74
8.3.90.0240.00416.67
8.3.80.0280.00516.81
8.3.70.0290.00616.63
8.3.60.0260.00516.70
8.3.50.0260.00416.70
8.3.40.0250.00617.63
8.3.30.0200.00517.41
8.3.20.0180.00617.56
8.3.10.0170.00517.60
8.3.00.0200.00517.49
8.2.300.0080.01418.61
8.2.290.0130.00617.75
8.2.280.0200.00516.85
8.2.270.0270.00616.80
8.2.260.0230.00516.75
8.2.250.0190.00516.73
8.2.240.0190.00616.62
8.2.230.0220.00616.65
8.2.220.0180.00516.70
8.2.210.0150.00416.67
8.2.200.0190.00616.83
8.2.190.0190.00716.63
8.2.180.0230.00416.64
8.2.170.0260.00617.65
8.2.160.0260.00517.67
8.2.150.0250.00917.72
8.2.140.0250.00717.57
8.2.130.0250.00617.54
8.2.120.0250.00817.67
8.2.110.0190.00417.70
8.2.100.0230.00717.66
8.2.90.0240.00817.72
8.2.80.0270.00717.61
8.2.70.0170.00817.55
8.2.60.0210.00417.69
8.2.50.0220.00417.57
8.2.40.0220.00517.71
8.2.30.0230.00517.53
8.2.20.0230.00617.54
8.2.10.0160.00417.59
8.2.00.0190.00617.53
8.1.340.0110.01019.77
7.3.330.0350.01516.14

preferences:
29.83 ms | 403 KiB | 5 Q