3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iets = true; $dit = 'dit'; $dat = 'dat'; $zus = true; $zo = 'zo'; $x = $iets ? $dit : $zus ? $dat : $zo; 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.10.0100.01019.56
8.3.140.0050.00317.06
8.3.130.0080.00018.36
8.3.120.0100.00018.84
8.3.110.0000.00720.94
8.3.100.0080.00024.06
8.3.90.0090.00026.77
8.3.80.0070.00316.63
8.3.70.0040.01118.56
8.3.60.0090.00916.63
8.3.50.0110.00624.32
8.3.40.0040.01120.26
8.3.30.0110.01118.58
8.3.20.0000.00720.64
8.3.10.0030.00620.16
8.3.00.0040.00422.53
8.2.250.0000.00818.86
8.2.240.0080.01116.90
8.2.230.0110.00022.58
8.2.220.0040.00437.54
8.2.210.0000.00826.77
8.2.200.0090.00016.25
8.2.190.0090.01216.75
8.2.180.0090.00918.29
8.2.170.0070.01018.83
8.2.160.0110.00320.94
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00419.71
8.2.110.0090.00021.04
8.2.100.0110.00419.40
8.2.90.0040.00417.73
8.2.80.0000.00820.36
8.2.70.0090.00017.93
8.2.60.0000.00817.50
8.2.50.0040.00418.05
8.2.40.0040.00418.22
8.2.30.0050.00217.79
8.2.20.0040.00417.82
8.2.10.0030.00619.09
8.2.00.0050.00218.99
8.1.300.0110.00719.74
8.1.290.0030.00618.88
8.1.280.0070.01025.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00319.32
8.1.230.0080.00320.94
8.1.220.0080.00017.74
8.1.210.0040.00418.89
8.1.200.0040.00417.22
8.1.190.0040.00417.00
8.1.180.0060.00318.10
8.1.170.0040.00418.88
8.1.160.0000.00722.03
8.1.150.0020.00618.75
8.1.140.0000.00718.80
8.1.130.0000.00720.06
8.1.120.0000.00817.34
8.1.110.0040.00417.30
8.1.100.0090.00017.33
8.1.90.0040.00317.31
8.1.80.0030.00317.23
8.1.70.0050.00217.20
8.1.60.0030.00617.33
8.1.50.0060.00317.38
8.1.40.0000.00817.34
8.1.30.0000.00817.49
8.1.20.0000.00817.50
8.1.10.0040.00417.27
8.1.00.0040.00417.18
8.0.300.0040.00420.07
8.0.290.0080.00016.58
8.0.280.0000.00718.31
8.0.270.0030.00317.97
8.0.260.0070.00019.85
8.0.250.0030.00616.78
8.0.240.0070.00016.90
8.0.230.0030.00316.90
8.0.220.0080.00016.75
8.0.210.0070.00016.71
8.0.200.0070.00016.94
8.0.190.0050.00316.88
8.0.180.0000.00716.81
8.0.170.0000.00916.81
8.0.160.0000.00716.88
8.0.150.0050.00316.63
8.0.140.0040.00416.79
8.0.130.0030.00313.28
8.0.120.0040.00416.70
8.0.110.0030.00316.77
8.0.100.0040.00416.68
8.0.90.0030.00616.77
8.0.80.0030.01516.79
8.0.70.0040.00416.81
8.0.60.0040.00416.79
8.0.50.0040.00416.77
8.0.30.0030.01317.06
8.0.20.0110.00817.03
8.0.10.0030.00316.80
8.0.00.0160.00316.57
7.4.330.0000.00415.55
7.4.320.0070.00016.51
7.4.300.0000.00616.53
7.4.290.0030.00316.43
7.4.280.0000.00716.50
7.4.270.0030.00316.44
7.4.260.0000.00613.31
7.4.250.0040.00416.46
7.4.240.0000.00716.53
7.4.230.0040.00416.51
7.4.220.0020.00516.42
7.4.210.0100.00316.44
7.4.200.0040.00416.63
7.4.130.0110.00916.33
7.4.120.0080.01516.39
7.4.110.0100.00716.55
7.4.100.0110.00716.38
7.4.90.0030.01316.35
7.4.80.0180.00619.39
7.4.70.0000.01616.45
7.4.60.0130.00316.44
7.4.50.0040.00716.29
7.4.40.0030.01316.38
7.4.30.0100.01016.33
7.4.20.0160.00516.20
7.4.10.0090.00916.43
7.4.00.0100.01016.50
7.3.330.0040.00416.01
7.3.320.0000.00713.06
7.3.310.0030.00316.33
7.3.300.0030.00516.21
7.3.290.0100.00616.20
7.3.260.0060.01216.28
7.3.240.0090.00916.35
7.3.230.0130.00716.20
7.3.210.0100.00716.17
7.3.200.0110.00716.21
7.3.190.0100.01016.25
7.3.180.0090.00616.65
7.3.170.0070.01016.23
7.3.160.0000.01716.41
7.3.150.0130.00316.58
7.3.140.0130.00416.27
7.3.130.0120.00316.39
7.3.120.0070.01016.13
7.3.110.0090.00816.53
7.3.100.0110.01116.36
7.3.90.0030.02116.41
7.3.80.0130.01016.25
7.3.70.0140.01116.26
7.3.60.0120.00416.18
7.3.50.0120.00916.32
7.3.40.0180.00316.29
7.3.30.0070.01416.27
7.3.20.0100.00718.20
7.3.10.0080.00818.08
7.3.00.0150.01018.00
7.2.330.0030.02016.41
7.2.320.0060.01016.39
7.2.310.0060.00916.57
7.2.300.0070.01116.54
7.2.290.0050.01216.61
7.2.280.0040.01516.40
7.2.270.0080.00916.49
7.2.260.0030.01916.48
7.2.250.0080.01216.26
7.2.240.0060.01116.53
7.2.230.0050.01916.27
7.2.220.0100.00716.49
7.2.210.0120.00916.64
7.2.200.0130.00916.56
7.2.190.0110.00416.36
7.2.180.0130.01016.35
7.2.170.0120.01016.36
7.2.160.0080.00816.37
7.2.150.0100.01418.27
7.2.140.0110.01218.39
7.2.130.0170.00718.29
7.2.120.0100.00718.33
7.2.110.0100.00918.27
7.2.100.0120.01218.27
7.2.90.0110.00618.21
7.2.80.0070.01418.22
7.2.70.0150.00418.19
7.2.60.0030.02018.23
7.2.50.0150.00418.25
7.2.40.0110.00618.29
7.2.30.0070.01018.35
7.2.20.0090.00818.19
7.2.10.0180.00618.21
7.2.00.0030.01818.33

preferences:
15.12 ms | 403 KiB | 5 Q