3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = '11'; $password = 11; if ($name == $password) { print 'Your password can not be your name.'; } else if (sha1($name) === sha1($password)) { print 'Flag: '; } else { print 'Invalid password.'; }

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.0000.01418.30
8.3.50.0130.00821.21
8.3.40.0090.00618.77
8.3.30.0050.01418.96
8.3.20.0000.00720.34
8.3.10.0040.00421.84
8.3.00.0070.00022.40
8.2.180.0030.01516.50
8.2.170.0120.00322.96
8.2.160.0090.00619.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0040.00419.36
8.2.110.0060.00322.30
8.2.100.0000.01119.45
8.2.90.0060.00318.86
8.2.80.0040.00417.97
8.2.70.0120.00017.38
8.2.60.0030.00617.93
8.2.50.0000.01018.07
8.2.40.0040.00419.82
8.2.30.0040.00417.94
8.2.20.0040.00417.56
8.2.10.0070.00017.59
8.2.00.0000.00817.76
8.1.280.0090.01225.92
8.1.270.0080.00022.05
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.89
8.1.230.0040.00719.08
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0080.00017.16
8.1.180.0080.00018.59
8.1.170.0040.00418.46
8.1.160.0030.00522.24
8.1.150.0000.00718.62
8.1.140.0040.00417.50
8.1.130.0030.00317.82
8.1.120.0000.00717.39
8.1.110.0040.00417.41
8.1.100.0080.00017.50
8.1.90.0000.00717.37
8.1.80.0000.00717.44
8.1.70.0030.00317.45
8.1.60.0030.00517.64
8.1.50.0050.00217.51
8.1.40.0030.00617.54
8.1.30.0050.00317.63
8.1.20.0030.00517.65
8.1.10.0040.00417.42
8.1.00.0030.00517.49
8.0.300.0000.00718.77
8.0.290.0070.00017.03
8.0.280.0070.00018.35
8.0.270.0000.00717.25
8.0.260.0030.00316.82
8.0.250.0030.00316.97
8.0.240.0050.00316.92
8.0.230.0030.00317.00
8.0.220.0030.00316.80
8.0.210.0000.00816.92
8.0.200.0060.00016.91
8.0.190.0070.00016.88
8.0.180.0000.00716.89
8.0.170.0070.00016.78
8.0.160.0080.00016.90
8.0.150.0070.00016.79
8.0.140.0050.00316.76
8.0.130.0030.00313.31
8.0.120.0030.00516.88
8.0.110.0000.00716.86
8.0.100.0040.00416.92
8.0.90.0040.00416.88
8.0.80.0030.01216.80
8.0.70.0040.00416.87
8.0.60.0040.00416.86
8.0.50.0070.00016.68
8.0.30.0080.01117.08
8.0.20.0090.01217.40
8.0.10.0000.00716.83
8.0.00.0100.00816.75
7.4.330.0030.00315.00
7.4.320.0030.00316.61
7.4.300.0000.00716.52
7.4.290.0040.00416.52
7.4.280.0030.00316.57
7.4.270.0070.00016.59
7.4.260.0030.00316.38
7.4.250.0040.00416.46
7.4.240.0030.00316.59
7.4.230.0000.00616.48
7.4.220.0120.00316.64
7.4.210.0100.00716.62
7.4.200.0000.00716.52
7.4.190.0040.00416.47
7.4.160.0040.01516.76
7.4.150.0070.01117.40
7.4.140.0090.00917.86
7.4.130.0090.00816.44
7.4.120.0090.01116.45
7.4.110.0100.00716.48
7.4.100.0090.00916.46
7.4.90.0080.00916.39
7.4.80.0060.01519.39
7.4.70.0100.00716.29
7.4.60.0090.01316.46
7.4.50.0030.00516.35
7.4.40.0000.01722.77
7.4.30.0030.01416.60
7.4.00.0100.00715.09
7.3.330.0050.00012.96
7.3.320.0050.00013.21
7.3.310.0030.00316.17
7.3.300.0000.00716.31
7.3.290.0150.00016.25
7.3.280.0080.00816.19
7.3.270.0160.00017.40
7.3.260.0040.01516.27
7.3.250.0100.00716.45
7.3.240.0060.01016.40
7.3.230.0160.00016.40
7.3.210.0100.00616.12
7.3.200.0090.01219.39
7.3.190.0130.00316.48
7.3.180.0120.00316.36
7.3.170.0080.00816.27
7.3.160.0080.00816.25
7.3.120.0070.00714.68
7.3.110.0080.00314.83
7.3.100.0070.00714.94
7.3.90.0070.00714.56
7.3.80.0070.00414.52
7.3.70.0070.00314.71
7.3.60.0040.00714.42
7.3.50.0070.00414.59
7.3.40.0000.01114.44
7.3.30.0070.00414.67
7.3.20.0080.00316.73
7.3.10.0000.01116.54
7.3.00.0050.00516.50
7.2.330.0070.01016.21
7.2.320.0030.01316.57
7.2.310.0090.01316.65
7.2.300.0080.00816.62
7.2.290.0030.01216.56
7.2.240.0040.00814.94
7.2.230.0060.00314.91
7.2.220.0030.00715.08
7.2.210.0090.00315.12
7.2.200.0040.00714.94
7.2.190.0000.01114.64
7.2.180.0040.00815.04
7.2.170.0080.00414.86
7.2.160.0040.00814.71
7.2.150.0060.00616.73
7.2.140.0040.00816.84
7.2.130.0050.00616.75
7.2.120.0030.00916.96
7.2.110.0030.00916.18
7.2.100.0030.00916.43
7.2.90.0030.00916.96
7.2.80.0090.00316.93
7.2.70.0060.00616.82
7.2.60.0080.00016.83
7.2.50.0070.00416.75
7.2.40.0040.00716.66
7.2.30.0040.00716.71
7.2.20.0070.00416.56
7.2.10.0030.01016.84
7.2.00.0030.00918.06
7.1.330.0130.00015.50
7.1.320.0070.00415.76
7.1.310.0030.00715.70
7.1.300.0070.00315.64
7.1.290.0070.00315.68
7.1.280.0070.00415.74
7.1.270.0110.00015.39
7.1.260.0090.00315.38
7.1.250.0070.00315.60
7.1.100.0000.01418.03
7.1.70.0030.00616.76
7.1.60.0160.01019.82
7.1.50.0030.01216.77
7.1.00.0030.07322.33
7.0.200.0070.00016.87
7.0.140.0000.07722.09
7.0.60.0030.04719.89
7.0.50.0130.07317.79
7.0.40.0130.06019.98
7.0.30.0100.04720.20
7.0.20.0330.08020.16
7.0.10.0030.04720.33
7.0.00.0030.09020.10
5.6.280.0000.07321.12
5.6.210.0130.04720.71
5.6.200.0070.04718.12
5.6.190.0130.08020.43
5.6.180.0500.07020.77
5.6.170.0230.05320.48
5.6.160.0230.07020.71
5.6.150.0070.07018.16
5.6.140.0070.08018.11
5.6.130.0000.04718.18
5.6.120.0100.06320.99
5.6.110.0030.04021.11
5.6.100.0100.08020.96
5.6.90.0000.05321.00
5.6.80.0230.07720.48
5.5.350.4030.04720.32
5.5.340.0000.07017.89
5.5.330.0130.06320.20
5.5.320.0030.08720.29
5.5.310.0200.04020.31
5.5.300.0130.07317.96
5.5.290.0100.07318.01
5.5.280.0000.09020.97
5.5.270.0100.08020.73
5.5.260.0130.07720.96
5.5.250.0030.04320.58
5.5.240.0230.05320.03
5.4.450.0500.07319.57
5.4.440.0430.05719.25
5.4.430.0400.05719.56
5.4.420.0400.04019.40
5.4.410.0570.06719.36
5.4.400.0500.07019.09
5.4.390.0500.07319.17
5.4.380.0600.06019.24
5.4.370.0500.03019.13
5.4.360.0430.05018.93
5.4.350.0430.04018.80
5.4.340.0400.04019.24
5.4.320.0600.05719.06
5.4.310.0470.03319.08
5.4.300.0430.04019.09
5.4.290.0300.04018.78
5.4.280.0330.03719.08
5.4.270.0430.02718.78
5.4.260.0400.04318.93
5.4.250.0330.03719.24
5.4.240.0300.04319.15
5.4.230.0370.03318.82
5.4.220.0300.04018.80
5.4.210.0430.02718.93
5.4.200.0370.04019.12
5.4.190.0330.04719.07
5.4.180.0430.02718.92
5.4.170.0330.04019.09
5.4.160.0370.03318.90
5.4.150.0430.03018.88
5.4.140.0430.03016.25
5.4.130.0300.03716.24
5.4.120.0330.03716.37
5.4.110.0400.03716.34
5.4.100.0270.04016.43
5.4.90.0470.05716.48
5.4.80.0470.03016.41
5.4.70.0400.04016.35
5.4.60.0570.05316.04
5.4.50.0430.04716.33
5.4.40.0570.02716.45
5.4.30.0530.05316.36
5.4.20.0470.05316.36
5.4.10.0600.06016.45
5.4.00.0500.06715.82
5.3.290.0500.03314.50
5.3.280.0300.04014.43
5.3.270.0370.03314.55
5.3.260.0300.04014.45
5.3.250.0300.03714.46
5.3.240.0400.03014.45
5.3.230.0400.03014.45
5.3.220.0300.04014.46
5.3.210.0330.04714.42
5.3.200.0400.03314.41
5.3.190.0430.03314.49
5.3.180.0470.07014.49
5.3.170.0400.05014.59
5.3.160.0530.06314.42
5.3.150.0500.05314.59
5.3.140.0470.07314.41
5.3.130.0470.06714.57
5.3.120.0570.06714.38
5.3.110.0630.05014.41
5.3.100.0470.06713.90
5.3.90.0570.06314.05
5.3.80.0400.04013.96
5.3.70.0500.06313.95
5.3.60.0500.05714.05
5.3.50.0500.06013.74
5.3.40.0600.03714.04
5.3.30.0730.04713.86
5.3.20.0470.03013.67
5.3.10.0530.05313.43
5.3.00.0600.04713.41
5.2.170.0570.04711.31
5.2.160.0600.03711.30
5.2.150.0470.04711.15
5.2.140.0430.04010.98
5.2.130.0470.04310.94
5.2.120.0430.04010.94
5.2.110.0400.03010.96
5.2.100.0400.05710.95
5.2.90.0400.04311.26
5.2.80.0400.03310.93
5.2.70.0470.05311.14
5.2.60.0430.05310.88
5.2.50.0430.05710.90
5.2.40.0330.04311.14
5.2.30.0400.04310.98
5.2.20.0470.04710.86
5.2.10.0370.06010.96
5.2.00.0400.05310.63
5.1.60.0430.03010.10
5.1.50.0300.03010.10
5.1.40.0300.02310.10
5.1.30.0370.04710.48
5.1.20.0330.05010.30
5.1.10.0370.03710.10
5.1.00.0300.04010.10
5.0.50.0130.03310.10
5.0.40.0170.03310.10
5.0.30.0170.04310.10
5.0.20.0200.04010.10
5.0.10.0230.02010.10
5.0.00.0200.05710.10
4.4.90.0230.02010.10
4.4.80.0170.03310.10
4.4.70.0270.03010.10
4.4.60.0200.01710.10
4.4.50.0200.03310.10
4.4.40.0230.03710.10
4.4.30.0200.03310.10
4.4.20.0200.03010.10
4.4.10.0230.03010.10
4.4.00.0130.03010.10
4.3.110.0200.03310.10
4.3.100.0200.03310.10
4.3.90.0230.03010.10
4.3.80.0230.03010.10
4.3.70.0230.01010.10
4.3.60.0200.02310.10
4.3.50.0230.03010.10
4.3.40.0230.02710.10
4.3.30.0130.02010.10
4.3.20.0130.03710.10
4.3.10.0100.03710.10
4.3.00.0070.02710.10

preferences:
44.45 ms | 401 KiB | 5 Q