3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iets = true; $dit = 'dit'; $dat = 'dat'; $x = $iets ? $dit : $dat; //werkt prima print($x);

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.4.20.0200.00019.55
8.4.10.0160.00319.39
8.3.150.0120.00617.00
8.3.140.0060.00316.58
8.3.130.0090.00018.34
8.3.120.0090.00018.89
8.3.110.0030.00620.94
8.3.100.0050.00516.57
8.3.90.0070.00026.77
8.3.80.0060.00316.50
8.3.70.0070.00716.58
8.3.60.0180.00016.50
8.3.50.0120.00824.29
8.3.40.0140.00020.48
8.3.30.0120.00318.40
8.3.20.0050.00220.86
8.3.10.0080.00020.35
8.3.00.0040.00420.59
8.2.270.0110.00417.22
8.2.260.0060.00316.23
8.2.250.0050.00316.39
8.2.240.0000.00916.92
8.2.230.0030.00622.58
8.2.220.0080.00424.06
8.2.210.0040.00426.77
8.2.200.0070.00416.38
8.2.190.0180.00418.29
8.2.180.0090.00925.92
8.2.170.0120.00318.94
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0060.00326.16
8.2.120.0040.00426.16
8.2.110.0060.00320.96
8.2.100.0130.00317.67
8.2.90.0000.00918.28
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0060.00317.50
8.2.50.0040.00418.05
8.2.40.0040.00418.22
8.2.30.0080.00018.01
8.2.20.0040.00417.91
8.2.10.0040.00419.18
8.2.00.0000.00719.21
8.1.310.0140.00318.39
8.1.300.0030.00618.68
8.1.290.0060.00330.84
8.1.280.0070.01125.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00022.38
8.1.230.0080.00322.82
8.1.220.0090.00017.78
8.1.210.0030.00518.77
8.1.200.0050.00317.30
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00919.01
8.1.160.0080.00022.01
8.1.150.0080.00318.74
8.1.140.0000.00718.73
8.1.130.0000.00717.26
8.1.120.0000.00717.29
8.1.110.0030.00517.36
8.1.100.0000.00817.30
8.1.90.0100.00017.38
8.1.80.0030.00617.36
8.1.70.0000.00717.33
8.1.60.0040.00417.47
8.1.50.0050.00317.54
8.1.40.0050.00317.46
8.1.30.0040.00417.48
8.1.20.0050.00317.61
8.1.10.0000.00817.45
8.1.00.0040.00417.41
8.0.300.0050.00320.09
8.0.290.0070.00016.75
8.0.280.0080.00018.47
8.0.270.0030.00318.06
8.0.260.0000.00616.77
8.0.250.0000.00716.95
8.0.240.0030.00316.84
8.0.230.0070.00016.78
8.0.220.0000.00716.70
8.0.210.0040.00416.83
8.0.200.0030.00316.87
8.0.190.0040.00416.95
8.0.180.0050.00316.82
8.0.170.0000.00816.80
8.0.160.0000.00716.90
8.0.150.0080.00016.78
8.0.140.0000.00716.71
8.0.130.0060.00013.22
8.0.120.0000.00716.83
8.0.110.0030.00316.73
8.0.100.0050.00316.72
8.0.90.0000.00916.70
8.0.80.0070.00716.81
8.0.70.0070.00016.70
8.0.60.0000.00716.72
8.0.50.0080.00016.78
8.0.30.0070.01416.84
8.0.20.0110.00617.21
8.0.10.0050.00316.82
8.0.00.0080.01216.75
7.4.330.0020.00215.55
7.4.320.0060.00016.61
7.4.300.0030.00316.48
7.4.290.0060.00016.48
7.4.280.0030.00616.54
7.4.270.0030.00316.39
7.4.260.0000.00513.32
7.4.250.0000.00716.38
7.4.240.0020.00516.46
7.4.230.0000.00716.52
7.4.220.0020.00516.40
7.4.210.0070.00716.55
7.4.200.0070.00016.52
7.4.130.0110.00816.51
7.4.120.0180.00516.57
7.4.110.0140.00316.58
7.4.100.0140.00316.27
7.4.90.0070.01116.36
7.4.80.0100.01019.39
7.4.70.0150.00016.46
7.4.60.0080.00816.57
7.4.50.0070.00716.29
7.4.40.0090.00916.45
7.4.30.0100.00716.22
7.4.20.0070.01016.29
7.4.10.0080.01216.43
7.4.00.0000.02116.39
7.3.330.0030.00316.29
7.3.320.0060.00313.01
7.3.310.0040.00416.14
7.3.300.0030.00316.15
7.3.290.0060.01116.17
7.3.260.0120.00616.34
7.3.240.0100.00916.30
7.3.230.0160.00716.32
7.3.210.0110.00716.31
7.3.200.0070.01016.21
7.3.190.0100.01016.43
7.3.180.0030.01616.60
7.3.170.0030.01416.24
7.3.160.0130.00316.23
7.3.150.0100.00716.29
7.3.140.0090.01216.20
7.3.130.0100.00616.29
7.3.120.0030.01316.21
7.3.110.0090.00916.23
7.3.100.0120.00616.16
7.3.90.0030.02116.18
7.3.80.0120.00916.26
7.3.70.0120.00916.25
7.3.60.0100.01216.34
7.3.50.0090.01216.18
7.3.40.0100.00616.31
7.3.30.0160.00616.28
7.3.20.0150.00617.96
7.3.10.0000.01718.09
7.3.00.0190.00318.16
7.2.330.0120.01216.20
7.2.320.0060.01016.41
7.2.310.0060.01016.46
7.2.300.0150.00616.41
7.2.290.0100.00716.42
7.2.280.0070.01016.29
7.2.270.0130.00516.53
7.2.260.0030.01416.40
7.2.250.0140.00416.45
7.2.240.0090.00616.44
7.2.230.0130.01016.24
7.2.220.0090.01216.49
7.2.210.0150.00916.59
7.2.200.0160.00616.43
7.2.190.0130.01016.39
7.2.180.0130.01016.30
7.2.170.0110.00616.48
7.2.160.0130.01016.32
7.2.150.0070.01718.25
7.2.140.0130.01018.44
7.2.130.0170.00318.25
7.2.120.0160.00618.28
7.2.110.0190.00318.30
7.2.100.0040.01418.45
7.2.90.0070.01118.25
7.2.80.0100.00718.15
7.2.70.0070.01718.27
7.2.60.0120.00618.36
7.2.50.0080.01618.20
7.2.40.0090.01518.10
7.2.30.0120.00418.22
7.2.20.0130.01018.34
7.2.10.0130.01018.37
7.2.00.0130.01018.22

preferences:
70.56 ms | 403 KiB | 5 Q