3v4l.org

run code in 300+ PHP versions simultaneously
<?php $template = 'Searching the |*-*| Dating membership database is the key to locating |*-*| people you would be interested in. You can search for |*-*| Singles including |*-*| Women and |*-*| Men in any location worldwide. Join now to search for |*-*| Singles.'; $array = [ 'Japan', 'Japanese', 'Tokyo', 'Yokohama', 'Osaka', 'Asian', 'Nagoya' ]; shuffle($array); vprintf(str_replace('|*-*|', '%s', $template), $array);

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.0.130.0060.00616.76
8.0.120.0160.00416.84
8.0.110.0130.00516.73
8.0.100.0200.00016.78
8.0.90.0140.00716.82
8.0.80.0190.00616.75
8.0.70.0190.00016.77
8.0.60.0140.00716.79
8.0.50.0160.00416.71
8.0.30.0120.00916.74
8.0.20.0150.00316.79
8.0.10.0150.00416.83
8.0.00.0100.00216.92
7.4.260.0200.00516.32
7.4.250.0170.00616.43
7.4.240.0200.00016.50
7.4.230.0230.00016.55
7.4.220.0180.00016.51
7.4.210.0140.00316.53
7.4.200.0160.00316.41
7.4.190.0120.00616.57
7.4.180.0140.01016.45
7.4.160.0170.00316.48
7.4.150.0080.01216.47
7.4.140.0160.00316.44
7.4.130.0160.00316.44
7.4.120.0200.00016.45
7.4.110.0180.00316.28
7.4.100.0170.00316.39
7.4.90.0130.00616.37
7.4.80.0150.00416.17
7.4.70.0220.00016.38
7.4.60.0180.00016.39
7.4.50.0140.00616.08
7.4.40.0100.01016.34
7.4.30.0090.00916.37
7.4.20.0160.00416.30
7.4.10.0160.00316.36
7.4.00.0120.00816.32
7.3.330.0040.00415.95
7.3.320.0140.01015.96
7.3.310.0210.00015.94
7.3.300.0170.00315.93
7.3.290.0110.00916.18
7.3.280.0220.00016.08
7.3.270.0160.00316.16
7.3.260.0180.00415.95
7.3.250.0200.00315.95
7.3.240.0130.00516.22
7.3.230.0060.00716.15
7.3.220.0040.00416.02
7.3.210.0130.00616.05
7.3.200.0150.00516.06
7.3.190.0150.00616.21
7.3.180.0150.00415.83
7.3.170.0170.00416.15
7.3.160.0150.00615.89
7.3.150.0160.00016.21
7.3.140.0110.00616.19
7.3.130.0100.00316.16
7.3.120.0130.00415.88
7.3.110.0140.00816.04
7.3.100.0150.00415.80
7.3.90.0140.00616.29
7.3.80.0110.00816.11
7.3.70.0030.00916.24
7.3.60.0130.00716.15
7.3.50.0140.00816.28
7.3.40.0170.00316.12
7.3.30.0210.00016.02
7.3.20.0160.00018.11
7.3.10.0190.00017.95
7.3.00.0200.00318.09

preferences:
30.87 ms | 400 KiB | 5 Q