3v4l.org

run code in 300+ PHP versions simultaneously
<?php $flag = "flag{abc}"; $c="a"; $h2 = password_hash (sha1($c, fa1se), PASSWORD_BCRYPT); echo "<div class='row'>"; if (password_verify (sha1($flag, fa1se), $h2) === true) { echo "<p>Here is your flag: <mark>$flag</mark></p>"; } else { echo "Here is the hash of your flag: " . sha1($flag, false); } ?>

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)
7.4.10.0030.14315.17
7.4.00.0100.13714.90
7.3.130.0130.13414.76
7.3.120.0070.13914.74
7.3.110.0160.13014.72
7.3.100.0070.13014.84
7.3.90.0030.14214.80
7.3.80.0070.12914.75
7.3.70.0030.13314.64
7.3.60.0070.13014.78
7.3.50.0030.13314.43
7.3.40.0030.13114.81
7.3.30.0030.12914.75
7.3.20.0030.13116.66
7.3.10.0030.13016.48
7.3.00.0000.13716.58
7.2.260.0100.12714.96
7.2.250.0100.13515.01
7.2.240.0030.13615.22
7.2.230.0100.12715.11
7.2.220.0030.13114.93
7.2.210.0070.12814.70
7.2.200.0100.12715.04
7.2.190.0070.12314.97
7.2.180.0030.13214.85
7.2.170.0070.13014.77
7.2.160.0000.13615.08
7.2.150.0030.13416.83
7.2.140.0070.13316.86
7.2.130.0070.12916.93
7.2.120.0000.13016.83
7.2.110.0030.14116.71
7.2.100.0000.13216.79
7.2.90.0070.12617.05
7.2.80.0030.12617.11
7.2.70.0030.13417.09
7.2.60.0050.13016.88
7.2.50.0000.13717.02
7.2.40.0070.13017.09
7.2.30.0070.13417.14
7.2.20.0030.12716.73
7.2.10.0100.12717.05
7.2.00.0070.12217.09
7.1.330.0070.12715.76
7.1.320.0000.13815.65
7.1.310.0100.12215.72
7.1.300.0000.13415.30
7.1.290.0030.13515.59
7.1.280.0070.12615.82
7.1.270.0030.12915.40
7.1.260.0000.13315.66
7.1.250.0100.12515.69
7.1.240.0070.13015.69
7.1.230.0030.13815.46
7.1.220.0030.12115.73
7.1.210.0030.12715.56
7.1.200.0020.13515.71
7.1.190.0030.12915.73
7.1.180.0000.13515.61
7.1.170.0030.13315.51
7.1.160.0030.12815.68
7.1.150.0070.13415.69
7.1.140.0030.13115.57
7.1.130.0070.12415.92
7.1.120.0070.12515.78
7.1.110.0000.13415.84
7.1.100.0100.15216.74
7.1.90.0020.16416.61
7.1.80.0020.16016.70
7.1.70.0080.15516.26
7.1.60.0130.15625.30
7.1.50.0130.15525.03
7.1.40.0120.16725.07
7.1.30.0130.15625.15
7.1.20.0180.15025.09
7.1.10.0050.16016.01
7.1.00.0050.15216.19
7.0.330.0100.12415.45
7.0.320.0030.13315.30
7.0.310.0070.13315.45
7.0.300.0030.12915.27
7.0.290.0030.13015.42
7.0.280.0030.13015.27
7.0.270.0000.13115.46
7.0.260.0070.13115.54
7.0.250.0030.12615.16
7.0.240.0030.15716.49
7.0.230.0030.15816.27
7.0.220.0030.15716.56
7.0.210.0030.15816.10
7.0.200.0030.15716.13
7.0.190.0080.15215.88
7.0.180.0100.15515.66
7.0.170.0030.15615.62
7.0.160.0020.16315.62
7.0.150.0050.15715.64
7.0.140.0050.16215.88
7.0.130.0030.15715.84
7.0.120.0050.15115.70
7.0.110.0070.15215.81
7.0.100.0080.15315.74
7.0.90.0060.15915.79
7.0.80.0070.15315.80
7.0.70.0070.15015.82
7.0.60.0080.16215.62
7.0.50.0080.15115.80
7.0.40.0050.15314.98
7.0.30.0050.15514.90
7.0.20.0070.15114.75
7.0.10.0050.15614.81
7.0.00.0030.15814.80
5.6.400.0070.13214.29
5.6.390.0000.13314.24
5.6.380.0100.13014.14
5.6.370.0030.13014.54
5.6.360.0000.14314.46
5.6.350.0070.13214.53
5.6.340.0030.13014.45
5.6.330.0000.13414.12
5.6.320.0070.13214.57
5.6.310.0070.13014.34
5.6.300.0030.13014.31
5.6.290.0030.12814.41
5.6.280.0030.12714.42
5.6.270.0030.12814.75
5.6.260.0030.12914.29
5.6.250.0000.12914.11
5.6.240.0070.12714.37
5.6.230.0070.12414.31
5.6.220.0100.12214.45
5.6.210.0030.13014.24
5.6.200.0000.13114.13
5.6.190.0100.12314.07
5.6.180.0030.12614.51
5.6.170.0030.12414.44
5.6.160.0000.13214.55
5.6.150.0030.14014.07
5.6.140.0070.13614.22
5.6.130.0030.13714.11
5.6.120.0030.12714.11
5.6.110.0030.13314.39
5.6.100.0100.11914.27
5.6.90.0070.12414.57
5.6.80.0030.12514.44
5.6.70.0030.12614.39
5.6.60.0030.13114.21
5.6.50.0100.12114.12
5.6.40.0030.12814.50
5.6.30.0070.12814.09
5.6.20.0070.12514.30
5.6.10.0070.12214.48
5.6.00.0030.12514.34

preferences:
35.43 ms | 401 KiB | 5 Q