3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($userinfo['Username'] == "none") { ECHO " <img src='/pics/usericon.png' alt='Avatar' width='100' height='100' style='vertical-align:middle;'>"; } else { ECHO " <img src='/avatars/" . $profuser . ".png' alt='Avatar' width='100' height='100' style='vertical-align:middle;'>"; }

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.40.0070.00718.73
8.3.30.0150.00018.50
8.3.20.0060.00318.90
8.3.10.0060.00318.52
8.3.00.0040.00419.26
8.2.170.0040.01122.96
8.2.160.0110.00620.95
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0100.01018.77
8.2.110.0060.00321.20
8.2.100.0040.00817.91
8.2.90.0050.00521.20
8.2.80.0000.00819.22
8.2.70.0050.00317.63
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00717.97
8.2.20.0000.00817.78
8.2.10.0040.00417.76
8.2.00.0070.00017.74
8.1.270.0090.00924.66
8.1.260.0090.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00722.59
8.1.230.0040.00721.03
8.1.220.0060.00317.79
8.1.210.0060.00318.80
8.1.200.0080.00017.22
8.1.190.0030.00517.43
8.1.180.0040.00418.10
8.1.170.0050.00218.76
8.1.160.0070.00018.75
8.1.150.0070.00018.52
8.1.140.0040.00417.44
8.1.130.0000.00717.82
8.1.120.0000.00817.36
8.1.110.0040.00417.41
8.1.100.0030.00317.36
8.1.90.0040.00417.46
8.1.80.0000.00817.27
8.1.70.0030.00317.32
8.1.60.0000.00717.41
8.1.50.0030.00517.42
8.1.40.0030.00517.43
8.1.30.0000.00817.59
8.1.20.0040.00417.46
8.1.10.0040.00417.49
8.1.00.0050.00217.41
8.0.300.0070.00019.90
8.0.290.0070.00016.75
8.0.280.0000.00718.45
8.0.270.0080.00017.22
8.0.260.0060.00016.81
8.0.250.0070.00016.95
8.0.240.0040.00416.87
8.0.230.0030.00516.94
8.0.220.0050.00216.90
8.0.210.0030.00316.82
8.0.200.0000.00616.86
8.0.190.0070.00016.96
8.0.180.0000.00716.91
8.0.170.0080.00016.79
8.0.160.0000.00716.86
8.0.150.0060.00316.80
8.0.140.0040.00416.88
8.0.130.0030.00313.32
8.0.120.0040.00416.85
8.0.110.0000.00716.88
8.0.100.0000.00716.69
8.0.90.0040.00416.88
8.0.80.0120.00616.80
8.0.70.0000.00717.01
8.0.60.0000.00716.70
8.0.50.0040.00416.78
8.0.30.0060.01316.89
8.0.20.0120.00817.05
8.0.10.0000.00716.96
8.0.00.0100.01116.67
7.4.330.0000.00412.87
7.4.320.0000.00916.49
7.4.300.0030.00316.45
7.4.290.0030.00316.54
7.4.280.0030.00516.53
7.4.270.0000.00816.55
7.4.260.0050.00213.21
7.4.250.0000.00816.45
7.4.240.0040.00316.56
7.4.230.0040.00416.56
7.4.220.0100.01616.48
7.4.210.0050.01016.52
7.4.200.0050.00316.61
7.4.190.0030.00616.63
7.4.160.0100.00616.44
7.4.150.0140.00416.50
7.4.140.0080.01116.47
7.4.130.0060.01216.49
7.4.120.0120.00516.43
7.4.110.0070.01116.45
7.4.100.0160.00816.46
7.4.90.0060.01616.50
7.4.80.0070.01019.39
7.4.70.0140.00316.57
7.4.60.0070.01016.57
7.4.50.0130.00016.42
7.4.40.0060.01216.37
7.4.30.0110.00716.52
7.4.00.0050.01014.99
7.3.330.0070.00013.30
7.3.320.0050.00013.27
7.3.310.0000.00716.54
7.3.300.0030.00316.43
7.3.290.0000.01516.50
7.3.280.0080.00916.33
7.3.270.0070.01016.55
7.3.260.0080.01016.59
7.3.250.0090.01216.43
7.3.240.0060.01016.59
7.3.230.0090.00916.48
7.3.210.0030.01316.48
7.3.200.0140.00316.42
7.3.190.0160.00616.55
7.3.180.0100.00616.43
7.3.170.0100.01016.39
7.3.160.0100.00716.39
7.3.120.0120.00714.80
7.3.110.0050.01215.01
7.3.100.0040.00714.88
7.3.90.0050.00814.76
7.3.80.0030.00914.83
7.3.70.0020.01014.96
7.3.60.0030.01014.86
7.3.50.0100.00214.86
7.3.40.0050.00914.79
7.3.30.0050.01314.80
7.3.20.0050.01016.54
7.3.10.0100.00316.47
7.3.00.0080.00516.76
7.2.330.0150.00616.82
7.2.320.0120.00616.41
7.2.310.0150.00316.63
7.2.300.0060.00916.67
7.2.290.0080.00816.76
7.2.250.0070.01014.74
7.2.240.0040.01215.03
7.2.230.0050.00814.97
7.2.220.0060.00915.25
7.2.210.0060.00715.09
7.2.200.0060.01115.16
7.2.190.0000.01214.94
7.2.180.0060.00615.09
7.2.170.0050.00715.25
7.2.160.0040.00814.94
7.2.150.0030.01117.15
7.2.140.0070.01016.89
7.2.130.0110.00416.91
7.2.120.0030.00716.97
7.2.110.0060.01217.08
7.2.100.0070.01016.64
7.2.90.0080.00417.04
7.2.80.0040.01416.70
7.2.70.0040.00716.85
7.2.60.0030.01017.10
7.2.50.0000.01416.75
7.2.40.0030.00816.98
7.2.30.0110.00717.14
7.2.20.0090.00316.70
7.2.10.0060.00616.84
7.2.00.0060.00518.25
7.1.330.0060.00615.87
7.1.320.0060.00615.75
7.1.310.0020.01215.67
7.1.300.0020.00715.71
7.1.290.0070.00515.70
7.1.280.0050.01215.69
7.1.270.0080.00715.78
7.1.260.0020.01015.76
7.1.250.0030.01015.77
7.1.100.0030.01018.11
7.1.70.0080.00017.21
7.1.60.0070.01819.40
7.1.50.0060.01617.02
7.1.00.0070.06722.44
7.0.200.0220.00614.94
7.0.140.0070.07022.15
7.0.120.0030.07322.18
7.0.60.0100.03319.86
7.0.50.0070.06317.90
7.0.40.0100.08019.91
7.0.30.0300.03720.16
7.0.20.0230.03720.13
7.0.10.0070.09020.30
7.0.00.0000.04320.12
5.6.210.0100.07320.62
5.6.200.0030.04718.18
5.6.190.0100.08020.43
5.6.180.3730.04020.67
5.6.170.0170.06020.33
5.6.160.0070.04020.54
5.6.150.0030.05718.12
5.6.140.0030.04318.15
5.6.130.0000.08018.20
5.6.120.0100.07721.04
5.6.110.0130.07721.00
5.6.100.0100.08021.00
5.6.90.0070.04020.96
5.6.80.0100.08020.32
5.6.70.4430.04720.34
5.5.350.0170.03020.38
5.5.340.0170.06017.88
5.5.330.0100.05720.24
5.5.320.1670.06320.41
5.5.310.0270.06320.13
5.5.300.0100.07318.02
5.5.290.0000.06717.98
5.5.280.0070.08320.68
5.5.270.0000.04320.86
5.5.260.0030.08720.94
5.5.250.0070.06320.60
5.5.240.0230.06720.23
5.4.450.0000.05019.11
5.4.440.0070.07719.13
5.4.430.0130.07719.39
5.4.420.0100.07319.49
5.4.410.0100.07319.28
5.4.400.0130.07319.21
5.4.390.0100.03019.08
5.4.380.0070.07318.91
5.4.370.0170.06719.00
5.4.360.0000.05018.92
5.4.350.0100.06019.18
5.4.340.0130.06718.79
5.4.320.0000.04019.17
5.4.310.0030.03719.18
5.4.300.0100.03019.08
5.4.290.0030.03718.91
5.4.280.0000.04318.79
5.4.270.0000.04019.17
5.4.260.0030.04319.08
5.4.250.0130.02719.07
5.4.240.0030.05019.07
5.4.230.0030.03718.99
5.4.220.0070.04718.78
5.4.210.0130.02719.13
5.4.200.0000.04019.17
5.4.190.0000.04019.13
5.4.180.0000.04019.16
5.4.170.0000.04718.79
5.4.160.0030.03719.16
5.4.150.0070.03318.90
5.4.140.0000.03716.20
5.4.130.0030.03316.20
5.4.120.0030.04016.43
5.4.110.0070.03016.36
5.4.100.0070.03016.61
5.4.90.0000.03716.37
5.4.80.0030.03316.39
5.4.70.0000.04316.39
5.4.60.0030.03316.25
5.4.50.0030.03316.12
5.4.40.0000.03716.20
5.4.30.0000.03716.66
5.4.20.0070.03016.20
5.4.10.0100.04316.32
5.4.00.0030.04015.79
5.3.290.0070.03314.63
5.3.280.0070.04014.52
5.3.270.0000.04014.53
5.3.260.0030.03714.39
5.3.250.0030.03314.44
5.3.240.0000.03714.62
5.3.230.0000.04014.49
5.3.220.0000.03714.46
5.3.210.0070.03314.46
5.3.200.0030.04014.52
5.3.190.0100.03014.49
5.3.180.0000.03714.51
5.3.170.0030.04014.50
5.3.160.0070.03014.48
5.3.150.0030.03314.46
5.3.140.0000.03714.65
5.3.130.0030.03714.47
5.3.120.0030.04014.48
5.3.110.0000.04014.44
5.3.100.0000.03713.97
5.3.90.0070.04713.95
5.3.80.0030.05314.11
5.3.70.0170.03713.94
5.3.60.0030.03714.02
5.3.50.0130.05013.88
5.3.40.0000.07313.76
5.3.30.0130.02713.87
5.3.20.0030.04313.52
5.3.10.0030.05713.60
5.3.00.0100.06013.57
5.2.170.0000.03311.02
5.2.160.0030.03311.02
5.2.150.0030.03311.07
5.2.140.0030.06011.13
5.2.130.0030.06311.08
5.2.120.0030.03311.04
5.2.110.0070.03310.95
5.2.100.0130.04711.09
5.2.90.0000.04711.03
5.2.80.0070.05711.08
5.2.70.0070.06011.17
5.2.60.0070.05710.93
5.2.50.0070.04710.99
5.2.40.0100.03310.88
5.2.30.0100.06010.89
5.2.20.0100.05010.93
5.2.10.0030.06310.89
5.2.00.0070.04710.70
5.1.60.0030.03710.00
5.1.50.0070.0479.97
5.1.40.0070.0479.96
5.1.30.0030.06010.32
5.1.20.0070.05710.33
5.1.10.0070.02310.04
5.1.00.0100.02310.21
5.0.50.0100.0378.52
5.0.40.0070.0338.39
5.0.30.0030.0638.21
5.0.20.0030.0338.37
5.0.10.0070.0408.13
5.0.00.0000.0438.19
4.4.90.0030.0177.90
4.4.80.0000.0407.90
4.4.70.0030.0307.90
4.4.60.0030.0277.90
4.4.50.0000.0407.90
4.4.40.0030.0407.90
4.4.30.0000.0377.90
4.4.20.0000.0207.90
4.4.10.0000.0377.90
4.4.00.0030.0277.90
4.3.110.0030.0377.90
4.3.100.0030.0237.90
4.3.90.0100.0307.90
4.3.80.0100.0177.92
4.3.70.0030.0137.92
4.3.60.0000.0177.93
4.3.50.0030.0137.93
4.3.40.0030.0307.93
4.3.30.0000.0337.94
4.3.20.0030.0377.95
4.3.10.0030.0307.95
4.3.00.0000.0337.96

preferences:
39.7 ms | 400 KiB | 5 Q