3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request = ''; $name = $request ? $request : 'default'; echo $name === 'default' ? 'всё пучком' : 'где-то я лоханулся', "\n"; $name = $request ?? 'default'; echo $name === 'default' ? 'всё пучком' : 'где-то я лоханулся', "\n";

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.1.70.0000.00717.43
8.1.60.0000.00717.35
8.1.50.0040.00417.45
8.1.40.0040.00417.44
8.1.30.0040.00417.58
8.1.20.0070.00017.45
8.1.10.0000.00917.49
8.1.00.0000.00817.35
8.0.200.0030.00316.77
8.0.190.0030.00616.86
8.0.180.0050.00216.84
8.0.170.0060.00316.72
8.0.160.0040.00416.81
8.0.150.0040.00416.79
8.0.140.0040.00416.78
8.0.130.0060.00616.60
8.0.120.0090.00916.80
8.0.110.0160.00416.64
8.0.100.0140.00516.64
8.0.90.0190.00016.66
8.0.80.0180.00016.71
8.0.70.0050.01416.70
8.0.60.0190.00016.70
8.0.50.0040.01516.71
8.0.30.0140.00616.75
8.0.20.0130.00716.82
8.0.10.0150.00416.90
8.0.00.0050.00516.91
7.4.300.0090.00016.36
7.4.290.0030.00316.55
7.4.280.0030.00616.44
7.4.270.0040.00416.60
7.4.260.0130.00516.54
7.4.250.0140.00716.50
7.4.240.0120.01216.47
7.4.230.0140.00716.57
7.4.220.0140.00416.54
7.4.210.0140.00316.36
7.4.200.0110.00816.27
7.4.190.0130.00516.39
7.4.180.0150.00316.46
7.4.160.0130.00416.54
7.4.150.0180.00016.41
7.4.140.0140.00416.37
7.4.130.0130.00616.46
7.4.120.0180.00016.45
7.4.110.0150.00416.39
7.4.100.0150.00316.36
7.4.90.0160.00316.39
7.4.80.0130.00516.50
7.4.70.0110.00716.39
7.4.60.0100.00716.31
7.4.50.0100.00816.23
7.4.40.0160.00316.39
7.4.30.0150.00416.40
7.4.20.0130.00616.45
7.4.10.0160.00316.30
7.4.00.0120.00616.44
7.3.330.0140.00416.14
7.3.320.0090.01216.25
7.3.310.0150.00316.21
7.3.300.0040.00416.25
7.3.290.0130.00616.25
7.3.280.0080.00716.11
7.3.270.0070.00316.14
7.3.260.0030.00816.22
7.3.250.0100.00216.27
7.3.240.0110.00016.34
7.3.230.0150.00016.21
7.3.220.0150.00516.18
7.3.210.0150.00416.16
7.3.200.0170.00315.95
7.3.190.0150.00316.20
7.3.180.0130.00716.07
7.3.170.0150.00416.14
7.3.160.0140.00616.14
7.3.150.0140.00516.28
7.3.140.0140.00516.15
7.3.130.0130.00616.04
7.3.120.0180.00016.19
7.3.110.0170.00216.22
7.3.100.0200.00016.14
7.3.90.0180.00416.40
7.3.80.0140.00616.09
7.3.70.0160.00416.22
7.3.60.0130.00516.41
7.3.50.0140.00616.31
7.3.40.0150.00416.45
7.3.30.0120.00916.39
7.3.20.0130.00718.15
7.3.10.0400.00017.85
7.3.00.0190.00418.03

preferences:
10.96 ms | 406 KiB | 5 Q