3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row->check_out = 5; $row->check_in = 2; echo "<tr align=center> <td>$row->check_in</td> <td>$row->check_out</td> <td>$row->email</td> <td>$row->price</td> <td>" . ($row->check_out - $row->check_in) . "</td> <td>$row->date_created</td> </tr>"; // orr........ ?> <?php $row->check_out = 5; $row->check_in = 2; ?> <tr align="center"> <td><?=$row->check_in?></td> <td><?=$row->check_out?></td> <td><?=$row->email?></td> <td><?=$row->price?></td> <td><?=($row->check_out - $row->check_in)?></td> <td><?=$row->date_created?></td> </tr>

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.3.60.0100.00716.50
8.3.50.0100.00722.83
8.3.40.0030.01018.67
8.3.30.0070.00719.17
8.3.20.0080.00020.34
8.3.10.0040.00420.66
8.3.00.0060.00321.02
8.2.180.0000.01918.54
8.2.170.0120.00322.96
8.2.160.0050.01020.93
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.67
8.2.110.0070.00321.05
8.2.100.0090.00317.78
8.2.90.0000.00819.28
8.2.80.0060.00317.97
8.2.70.0000.00817.50
8.2.60.0050.00317.68
8.2.50.0040.00418.07
8.2.40.0050.00519.17
8.2.30.0000.00719.83
8.2.20.0040.00417.74
8.2.10.0050.00217.91
8.2.00.0030.00517.82
8.1.280.0070.00725.92
8.1.270.0050.00224.66
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0060.00620.52
8.1.230.0110.00020.88
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0030.00618.50
8.1.160.0030.00421.88
8.1.150.0000.00818.88
8.1.140.0000.00717.35
8.1.130.0030.00317.39
8.1.120.0040.00417.39
8.1.110.0000.00717.33
8.1.100.0030.00317.29
8.1.90.0030.00617.42
8.1.80.0000.00717.40
8.1.70.0070.00017.39
8.1.60.0040.00417.43
8.1.50.0000.00817.57
8.1.40.0000.00817.57
8.1.30.0080.00017.71
8.1.20.0000.00817.63
8.1.10.0070.00017.52
8.1.00.0060.00317.45
8.0.300.0080.00018.77
8.0.290.0000.00716.75
8.0.280.0070.00018.26
8.0.270.0030.00316.74
8.0.260.0000.00716.75
8.0.250.0070.00016.86
8.0.240.0060.00316.92
8.0.230.0040.00416.96
8.0.220.0090.00016.92
8.0.210.0030.00316.94
8.0.200.0030.00316.97
8.0.190.0000.00716.94
8.0.180.0000.00916.85
8.0.170.0070.00016.85
8.0.160.0030.00416.79
8.0.150.0000.00716.75
8.0.140.0020.00516.91
8.0.130.0050.00013.37
8.0.120.0040.00416.76
8.0.110.0040.00416.88
8.0.100.0030.00316.75
8.0.90.0050.00316.78
8.0.80.0000.01616.94
8.0.70.0070.00016.97
8.0.60.0070.00016.94
8.0.50.0040.00417.01
8.0.30.0090.01216.91
8.0.20.0050.01217.40
8.0.10.0000.00717.00
8.0.00.0080.01116.67
7.4.330.0030.00215.04
7.4.320.0000.00616.44
7.4.300.0000.00616.52
7.4.290.0030.00316.46
7.4.280.0000.01016.40
7.4.270.0030.00316.38
7.4.260.0000.00816.51
7.4.250.0030.00516.41
7.4.240.0020.00616.42
7.4.230.0070.00016.58
7.4.220.0050.01416.57
7.4.210.0060.00916.43
7.4.200.0030.00316.55
7.4.160.0150.00316.56
7.4.150.0230.02017.40
7.4.140.0130.00617.86
7.4.130.0130.01016.34
7.4.120.0130.00716.45
7.4.110.0150.00416.33
7.4.100.0120.00416.52
7.4.90.0120.00416.37
7.4.80.0120.00616.57
7.4.70.0150.00716.29
7.4.60.0030.01716.40
7.4.50.0040.00416.53
7.4.40.0030.01316.54
7.4.30.0160.00016.17
7.4.00.0000.01714.92
7.3.330.0030.00313.20
7.3.320.0050.00013.12
7.3.310.0000.00716.37
7.3.300.0000.00616.13
7.3.290.0050.01116.31
7.3.280.0080.00916.30
7.3.270.0120.00617.40
7.3.260.0100.00716.44
7.3.250.0090.00916.35
7.3.240.0080.00816.49
7.3.230.0100.01316.40
7.3.210.0070.01116.52
7.3.200.0130.01019.39
7.3.190.0130.00916.49
7.3.180.0090.00916.58
7.3.170.0110.00616.29
7.3.160.0080.00816.52
7.3.10.0060.01216.15
7.3.00.0070.00716.29
7.2.330.0080.01016.69
7.2.320.0090.00916.42
7.2.310.0030.01516.52
7.2.300.0090.01416.73
7.2.290.0170.00616.95
7.2.130.0030.01316.62
7.2.120.0050.01316.94
7.2.110.0190.00616.64
7.2.100.0140.00216.73
7.2.90.0070.01016.91
7.2.80.0120.00616.73
7.2.70.0130.00716.76
7.2.60.0070.00716.77
7.2.50.0090.00816.96
7.2.40.0160.00616.63
7.2.30.0130.00716.48
7.2.20.0170.00616.48
7.2.10.0070.01016.75
7.2.00.0100.01016.96
7.1.250.0190.00315.18
7.1.200.0060.00615.56
7.1.100.0250.00716.96
7.1.70.0000.00716.79
7.1.60.0090.01619.34
7.1.50.0030.01916.61
7.1.00.0070.07322.51
7.0.200.0030.00516.87
7.0.140.0070.07022.21
7.0.100.0000.06019.99
7.0.90.0100.05019.99
7.0.80.0200.05719.89
7.0.70.0130.04319.91
7.0.60.0300.06319.95
7.0.50.0070.07020.42
7.0.40.0070.08320.05
7.0.30.0000.09020.11
7.0.20.0100.04320.13
7.0.10.0100.07020.11
7.0.00.0030.05020.11
5.6.280.0030.07320.80
5.6.250.0070.07020.76
5.6.240.0000.07320.64
5.6.230.0070.05320.74
5.6.220.0100.07320.66
5.6.210.0070.06720.61
5.6.200.0130.07721.17
5.6.190.0000.09020.95
5.6.180.0030.05721.10
5.6.170.0030.08320.96
5.6.160.0030.04721.00
5.6.150.0100.04321.04
5.6.140.0100.06021.04
5.6.130.0100.08321.04
5.6.120.0130.04020.94
5.6.110.0030.08321.02
5.6.100.0130.07021.02
5.6.90.0130.05020.92
5.6.80.0100.07020.33
5.6.70.0070.06720.50
5.6.60.0030.08320.31
5.6.50.0000.09020.37
5.6.40.0070.08020.37
5.6.30.0030.06020.43
5.6.20.0130.05320.34
5.6.10.0070.06720.41
5.6.00.0030.08320.23
5.5.380.0030.04320.34
5.5.370.0000.09320.45
5.5.360.0070.08020.34
5.5.350.0100.08320.37
5.5.340.0130.07720.74
5.5.330.0100.04720.81
5.5.320.0030.08320.87
5.5.310.0070.08320.72
5.5.300.0100.04020.73
5.5.290.0130.07320.83
5.5.280.0130.07720.91
5.5.270.0070.08720.76
5.5.260.0170.05320.88
5.5.250.0130.07320.41
5.5.240.0100.06020.24
5.5.230.0000.08320.30
5.5.220.0100.07720.27
5.5.210.0030.07720.23
5.5.200.0170.07019.99
5.5.190.0130.06320.08
5.5.180.0200.07020.14
5.5.160.0130.03720.25
5.5.150.0030.08320.28
5.5.140.0030.06720.14
5.5.130.0100.06720.13
5.5.120.0130.06019.98
5.5.110.0070.05720.14
5.5.100.0100.05320.01
5.5.90.0100.07720.04
5.5.80.0130.07020.16
5.5.70.0000.05020.10
5.5.60.0100.06320.05
5.5.50.0030.08020.02
5.5.40.0100.07720.08
5.5.30.0030.08020.14
5.5.20.0200.06720.10
5.5.10.0070.06320.02
5.5.00.0100.03719.99
5.4.450.0070.07719.16
5.4.440.0070.04719.38
5.4.430.0130.07319.37
5.4.420.0070.05019.44
5.4.410.0030.05719.22
5.4.400.0030.07319.13
5.4.390.0100.07019.08
5.4.380.0130.04719.14
5.4.370.0100.06718.96
5.4.360.0030.05318.96
5.4.350.0000.05718.92
5.4.340.0130.06719.20
5.4.320.0030.08719.07
5.4.310.0130.06319.09
5.4.300.0070.03719.14
5.4.290.0030.07719.02
5.4.280.0170.07018.80
5.4.270.0100.07319.00
5.4.260.0070.05719.03
5.4.250.0130.07319.09
5.4.240.0170.07019.12
5.4.230.0070.07718.77
5.4.220.0000.04719.11
5.4.210.0100.06719.02
5.4.200.0030.04318.80
5.4.190.0030.08318.79
5.4.180.0170.05719.22
5.4.170.0030.07718.79
5.4.160.0170.05718.92
5.4.150.0070.07018.88
5.4.140.0070.05016.37
5.4.130.0130.04316.32
5.4.120.0000.05716.27
5.4.110.0070.05716.21
5.4.100.0130.08016.30
5.4.90.0070.06016.43
5.4.80.0130.03016.25
5.4.70.0130.03016.42
5.4.60.0100.07016.28
5.4.50.0030.05316.43
5.4.40.0070.06016.45
5.4.30.0070.04316.22
5.4.20.0070.06016.40
5.4.10.0070.04716.20
5.4.00.0030.07715.73
5.3.290.0030.08014.65
5.3.280.0000.08714.57
5.3.270.0000.04314.59
5.3.260.0030.06314.42
5.3.250.0070.05714.58
5.3.240.0000.08014.59
5.3.230.0030.07314.55
5.3.220.0030.05014.55
5.3.210.0100.06714.43
5.3.200.0170.06714.50
5.3.190.0100.05314.55
5.3.180.0100.05314.39
5.3.170.0070.07014.54
5.3.160.0070.06014.52
5.3.150.0030.05314.39
5.3.140.0030.04314.42
5.3.130.0030.05014.52
5.3.120.0100.06014.54
5.3.110.0070.07014.48
5.3.100.0070.07313.89
5.3.90.0070.07313.85
5.3.80.0170.06013.87
5.3.70.0070.07313.87
5.3.60.0030.08014.01
5.3.50.0130.06713.80
5.3.40.0000.06713.85
5.3.30.0030.07313.77
5.3.20.0100.06013.55
5.3.10.0100.07313.64
5.3.00.0100.05013.57
5.2.170.0100.05311.66
5.2.160.0030.06311.66
5.2.150.0030.04711.66
5.2.140.0000.06711.66
5.2.130.0030.04711.66
5.2.120.0070.05011.66
5.2.110.0170.04711.66
5.2.100.0130.05311.66
5.2.90.0000.03711.66
5.2.80.0000.05311.66
5.2.70.0030.03311.66
5.2.60.0070.03311.66
5.2.50.0030.06011.66
5.2.40.0030.03311.66
5.2.30.0000.05011.66
5.2.20.0070.02711.66
5.2.10.0000.03311.66
5.2.00.0070.03011.66
5.1.60.0070.05011.66
5.1.50.0070.03711.66
5.1.40.0070.05011.66
5.1.30.0130.05011.66
5.1.20.0000.05011.66
5.1.10.0030.03011.66
5.1.00.0070.03311.66
5.0.50.0000.02011.66
5.0.40.0000.03311.66
5.0.30.0100.05711.66
5.0.20.0030.02311.66
5.0.10.0000.02711.66
5.0.00.0000.07011.66
4.4.90.0100.02711.66
4.4.80.0030.02711.66
4.4.70.0070.03011.66
4.4.60.0000.01711.66
4.4.50.0070.02011.66
4.4.40.0000.05311.66
4.4.30.0070.03011.66
4.4.20.0000.02711.66
4.4.10.0070.01711.66
4.4.00.0000.02311.66
4.3.110.0030.03311.66
4.3.100.0070.02711.66
4.3.90.0030.02011.66
4.3.80.0030.02311.66
4.3.70.0030.02311.66
4.3.60.0000.03311.66
4.3.50.0030.02011.66
4.3.40.0000.02311.66
4.3.30.0000.01711.66
4.3.20.0000.04011.66
4.3.10.0000.01711.66
4.3.00.0000.01711.66

preferences:
52.55 ms | 401 KiB | 5 Q