3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isUserAuthorized = true; $siteAddress = 'sute.ru/'; class a { function getSources(){ return array('1'); } function getLink(){ return 'link'; } function getTitle(){ return 'title'; } } var_dump(@count > 0); $art = new a; if ($isUserAuthorized && $art->getSources() | @hrenateny){ $color = "#999999"; } else { $color = ""; } $link = "<a href='{$siteAddress}{$art->getLink()}' style='color: $color'>{$art->getTitle()}</a>"; echo $link;

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.0120.00316.88
8.3.50.0120.00622.89
8.3.40.0070.00718.82
8.3.30.0070.00718.70
8.3.20.0000.00721.91
8.3.10.0000.00821.90
8.3.00.0080.00018.03
8.2.180.0120.00318.36
8.2.170.0100.01022.96
8.2.160.0100.00322.08
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00422.09
8.2.120.0080.00026.35
8.2.110.0040.00419.10
8.2.100.0040.00718.22
8.2.90.0060.00319.11
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0060.00318.05
8.2.50.0030.00618.10
8.2.40.0030.00622.21
8.2.30.0000.00719.27
8.2.20.0000.00717.77
8.2.10.0000.00718.00
8.2.00.0040.00718.04
8.1.280.0110.00425.92
8.1.270.0080.00023.96
8.1.260.0040.00428.09
8.1.250.0020.00528.09
8.1.240.0080.00417.35
8.1.230.0040.00717.45
8.1.220.0030.00617.79
8.1.210.0060.00318.77
8.1.200.0130.00017.13
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0000.00722.16
8.1.150.0000.01018.91
8.1.140.0040.00419.59
8.1.130.0080.00017.73
8.1.120.0030.00317.52
8.1.110.0040.00417.46
8.1.100.0030.00317.52
8.1.90.0000.00717.51
8.1.80.0040.00417.45
8.1.70.0030.00317.38
8.1.60.0000.00817.61
8.1.50.0020.00617.55
8.1.40.0000.00817.43
8.1.30.0040.00417.72
8.1.20.0040.00417.69
8.1.10.0000.00717.63
8.1.00.0050.00317.36
8.0.300.0060.00318.77
8.0.290.0070.00016.75
8.0.280.0030.00318.49
8.0.270.0080.00017.20
8.0.260.0040.00417.32
8.0.250.0050.00316.94
8.0.240.0040.00416.97
8.0.230.0070.00317.06
8.0.220.0060.00316.85
8.0.210.0030.00316.89
8.0.200.0040.00416.98
8.0.190.0050.00316.91
8.0.180.0030.00517.02
8.0.170.0040.00416.96
8.0.160.0040.00416.93
8.0.150.0000.00816.89
8.0.140.0040.00416.86
8.0.130.0060.00013.36
8.0.120.0030.00616.92
8.0.110.0030.00516.85
8.0.100.0000.00717.02
8.0.90.0040.00416.93
8.0.80.0070.00716.93
8.0.70.0000.00716.79
8.0.60.0050.00216.97
8.0.50.0040.00417.01
8.0.30.0080.01017.27
8.0.20.0080.01117.40
8.0.10.0050.00217.04
8.0.00.0090.00916.98
7.4.330.0000.00415.08
7.4.320.0000.00716.63
7.4.300.0040.00416.61
7.4.290.0030.00316.59
7.4.280.0040.00416.67
7.4.270.0000.00816.39
7.4.260.0030.00316.59
7.4.250.0070.00016.39
7.4.240.0030.00316.46
7.4.230.0000.00816.69
7.4.220.0130.01116.55
7.4.210.0090.00616.55
7.4.200.0030.00316.38
7.4.160.0090.00916.76
7.4.150.0110.00617.40
7.4.140.0150.00317.86
7.4.130.0100.01116.53
7.4.120.0100.00716.46
7.4.110.0140.00316.61
7.4.100.0090.00916.71
7.4.90.0060.01316.61
7.4.80.0040.01219.39
7.4.70.0110.00716.57
7.4.60.0030.01316.51
7.4.50.0090.00616.41
7.4.40.0100.00716.57
7.4.30.0100.00716.52
7.4.00.0100.00614.88
7.3.330.0000.00713.27
7.3.320.0030.00313.48
7.3.310.0000.00716.46
7.3.300.0000.00716.45
7.3.290.0120.00416.40
7.3.280.0110.00716.45
7.3.270.0130.00417.40
7.3.260.0140.00916.40
7.3.250.0090.00916.54
7.3.240.0140.00416.50
7.3.230.0000.02216.59
7.3.210.0140.00716.38
7.3.200.0000.01716.80
7.3.190.0130.00316.39
7.3.180.0000.01516.34
7.3.170.0120.00416.48
7.3.160.0060.01016.44
7.3.10.0070.01016.63
7.3.00.0030.00716.62
7.2.330.0150.00316.52
7.2.320.0170.00016.76
7.2.310.0150.00616.57
7.2.300.0060.01816.78
7.2.290.0160.00316.74
7.2.130.0060.00616.97
7.2.120.0070.00416.75
7.2.110.0070.00716.67
7.2.100.0000.01516.96
7.2.90.0060.00316.93
7.2.80.0030.01216.96
7.2.70.0080.00616.63
7.2.60.0020.01216.84
7.2.50.0080.00616.91
7.2.40.0060.00616.85
7.2.30.0030.00616.93
7.2.20.0060.00916.98
7.2.10.0040.00816.73
7.2.00.0020.01318.04
7.1.250.0070.00715.71
7.1.200.0060.00315.68
7.1.100.0030.00618.05
7.1.70.0000.00917.18
7.1.60.0340.00719.75
7.1.50.0110.01116.97
7.1.00.0030.07722.37
7.0.200.0090.00315.03
7.0.90.0470.07019.95
7.0.80.0700.07019.96
7.0.70.0300.07020.11
7.0.60.0270.06720.13
7.0.50.0330.06320.24
7.0.40.0370.06720.39
7.0.30.0370.05720.29
7.0.20.0370.06020.32
7.0.10.0400.06320.43
7.0.00.0430.07720.30
5.6.240.0130.08720.74
5.6.230.0100.06720.82
5.6.220.0130.06020.50
5.6.210.0200.05720.87
5.6.200.0030.09321.09
5.6.190.0230.08321.02
5.6.180.0130.06021.08
5.6.170.0170.06321.04
5.6.160.0070.06721.03
5.6.150.0230.05021.04
5.6.140.0100.08021.13
5.6.130.0100.08321.18
5.6.120.0170.06721.09
5.6.110.0200.07321.06
5.6.100.0100.06021.00
5.6.90.0200.05021.07
5.6.80.0200.05020.41
5.6.70.0130.06320.58
5.6.60.0130.06020.45
5.6.50.0200.06320.48
5.6.40.0200.05320.43
5.6.30.0200.05020.45
5.6.20.0170.05720.41
5.6.10.0230.05720.43
5.6.00.0130.07320.49

preferences:
55.82 ms | 401 KiB | 5 Q