3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = mcrypt_create_iv(22, MCRYPT_DEV_URANDOM); $save_passwd = crypt('abcdefg', '$2y$10$sdfdsdafafsdsfdasfaasfsfdsdfa'); echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; //$options = [ // 'cost' => 10, // 'salt' => "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$", //]; //$save_passwd = password_hash('abcdefg', PASSWORD_BCRYPT, $options); if(password_verify('abcdefg', $save_passwd)){ echo "5.5버전이상"; }else{ echo "거지셈"; } ?>

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.0130.01018.30
8.3.50.0120.00521.14
8.3.40.0170.00318.69
8.3.30.0110.00320.00
8.3.20.0040.00420.16
8.3.10.0050.00321.14
8.3.00.0040.00422.40
8.2.180.0030.01516.50
8.2.170.0070.00722.96
8.2.160.0070.00722.17
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.82
8.2.110.0080.00319.31
8.2.100.0070.00417.91
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0030.00617.80
8.2.50.0080.00018.07
8.2.40.0040.00417.90
8.2.30.0080.00019.45
8.2.20.0000.00817.80
8.2.10.0000.00717.68
8.2.00.0030.00517.73
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0110.00426.35
8.1.250.0000.00828.09
8.1.240.0070.00322.45
8.1.230.0090.00320.91
8.1.220.0000.00818.77
8.1.210.0050.00520.70
8.1.200.0040.00817.23
8.1.190.0080.00017.43
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0040.00418.72
8.1.150.0040.00418.52
8.1.140.0040.00417.29
8.1.130.0030.00317.77
8.1.120.0070.00017.33
8.1.110.0050.00317.38
8.1.100.0070.00017.34
8.1.90.0040.00417.24
8.1.80.0000.00717.39
8.1.70.0000.00717.32
8.1.60.0030.00617.42
8.1.50.0040.00417.42
8.1.40.0000.00917.45
8.1.30.0040.00417.48
8.1.20.0040.00417.53
8.1.10.0040.00417.39
8.1.00.0030.00617.49
8.0.300.0000.00819.91
8.0.290.0040.00417.18
8.0.280.0000.00718.38
8.0.270.0030.00317.22
8.0.260.0040.00416.82
8.0.250.0040.00416.97
8.0.240.0000.00816.98
8.0.230.0040.00417.00
8.0.220.0000.00716.95
8.0.210.0000.00716.94
8.0.200.0000.00717.03
8.0.190.0000.00816.87
8.0.180.0040.00416.85
8.0.170.0000.00816.83
8.0.160.0030.00316.79
8.0.150.0040.00416.91
8.0.140.0090.00316.88
8.0.130.0000.00513.37
8.0.120.0000.00716.77
8.0.110.0020.00516.93
8.0.100.0040.00416.77
8.0.90.0000.00716.83
8.0.80.0060.00916.84
8.0.70.0050.00316.70
8.0.60.0000.00816.77
8.0.50.0000.00716.76
8.0.30.0070.01116.96
8.0.20.0040.01517.40
8.0.10.0050.00316.83
8.0.00.0070.01116.60
7.4.330.0000.00516.79
7.4.320.0070.00016.30
7.4.300.0060.00016.46
7.4.290.0000.00616.45
7.4.280.0030.00316.52
7.4.270.0060.00016.46
7.4.260.0000.00613.23
7.4.250.0000.00816.40
7.4.240.0040.00416.47
7.4.230.0030.00316.61
7.4.220.0060.01516.42
7.4.210.0060.00816.50
7.4.200.0040.00416.64
7.4.190.0020.00416.61
7.4.160.0090.00616.43
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0090.00916.56
7.4.120.0080.01016.50
7.4.110.0170.00616.35
7.4.100.0150.00316.45
7.4.90.0070.01116.68
7.4.80.0030.01419.39
7.4.70.0070.01016.57
7.4.60.0120.00616.39
7.4.50.0030.00616.28
7.4.40.0030.01122.77
7.4.30.0140.00716.52
7.4.00.0100.00615.02
7.3.330.0050.00013.17
7.3.320.0030.00212.99
7.3.310.0050.00316.23
7.3.300.0030.00316.10
7.3.290.0150.00316.30
7.3.280.0100.00916.31
7.3.270.0070.01017.40
7.3.260.0100.01018.24
7.3.250.0080.01116.41
7.3.240.0100.00716.30
7.3.230.0130.00316.39
7.3.210.0120.00816.42
7.3.200.0050.01419.39
7.3.190.0060.01516.52
7.3.180.0030.01316.28
7.3.170.0170.00016.46
7.3.160.0080.01216.32
7.3.120.0140.00014.57
7.2.330.0120.00616.40
7.2.320.0090.00916.39
7.2.310.0070.01716.39
7.2.300.0120.00316.36
7.2.290.0170.00016.62
7.2.60.0030.01016.67
7.2.00.0000.01219.17
7.1.200.0070.00715.34
7.1.100.0030.00917.60
7.1.70.0030.00917.02
7.1.60.0130.01019.17
7.1.50.0070.01716.95
7.1.00.0030.07722.40
7.0.200.0040.00416.69
7.0.140.0070.07022.21
7.0.70.0030.08021.65
7.0.60.0000.07721.67
7.0.50.0030.27722.08
7.0.40.0070.28320.16
7.0.30.0030.29720.09
7.0.20.0030.28720.10
7.0.10.0000.29020.05
7.0.00.0030.27320.08
5.6.280.0030.07321.07
5.6.220.0070.07320.49
5.6.210.0070.06320.51
5.6.200.0000.22720.99
5.6.190.0000.22721.01
5.6.180.0030.28321.06
5.6.170.0030.28721.06
5.6.160.0000.29720.91
5.6.150.0030.27721.06
5.6.140.0030.28720.93
5.6.130.0030.29320.89
5.6.120.0000.25020.94
5.6.110.0030.23021.05
5.6.100.0030.29021.05
5.6.90.0130.25021.02
5.6.80.0030.19320.45
5.6.70.0000.20320.45
5.6.60.0100.21320.34
5.6.50.0070.21720.50
5.6.40.0030.21720.29
5.6.30.0070.22720.37
5.6.20.0030.18720.36
5.6.10.0000.18320.33
5.6.00.0000.18320.34
5.5.360.0070.07720.35
5.5.350.0030.06720.40
5.5.340.0000.25720.78
5.5.330.0070.27720.75
5.5.320.0170.27320.92
5.5.310.0070.28720.89
5.5.300.0070.27720.79
5.5.290.0030.25320.76
5.5.280.0070.28020.91
5.5.270.0100.28020.76
5.5.260.0000.29020.73
5.5.250.0030.27320.71
5.5.240.0000.20020.11
5.5.230.0070.18020.00
5.5.220.0000.27320.27
5.5.210.0000.23020.18
5.5.200.0030.19720.22
5.5.190.0030.19720.25
5.5.180.0000.18320.19
5.5.160.0130.18020.10
5.5.150.0030.18020.24
5.5.140.0000.19320.26
5.5.130.0030.27020.09
5.5.120.0030.28020.24
5.5.110.0070.28320.13
5.5.100.0000.28020.07
5.5.90.0030.29320.04
5.5.80.0100.25320.13
5.5.70.0100.23720.02
5.5.60.0030.29320.02
5.5.50.0100.25720.13
5.5.40.0130.26720.04
5.5.30.0030.27319.91
5.5.20.0030.22019.91
5.5.10.0030.28720.03
5.5.00.0200.27019.99
5.4.450.0100.21019.13
5.4.440.0070.22019.29
5.4.430.0000.23019.37
5.4.420.0100.21719.38
5.4.410.0000.23719.30
5.4.400.0030.13019.11
5.4.390.0000.13318.97
5.4.380.0030.15719.11
5.4.370.0000.16318.89
5.4.360.0030.16019.13
5.4.350.0030.13019.00
5.4.340.0070.12719.11
5.4.320.0000.14019.23
5.4.310.0000.13319.02
5.4.300.0070.14719.04
5.4.290.0000.17019.13
5.4.280.0070.22318.81
5.4.270.0030.21019.03
5.4.260.0070.20718.83
5.4.250.0070.22318.92
5.4.240.0030.22019.00
5.4.230.0030.22319.10
5.4.220.0030.22718.93
5.4.210.0200.21019.01
5.4.200.0000.19319.05
5.4.190.0070.21318.88
5.4.180.0070.19719.07
5.4.170.0030.22019.08
5.4.160.0070.21719.08
5.4.150.0130.20019.01
5.4.140.0070.22316.21
5.4.130.0070.21016.29
5.4.120.0070.19316.22
5.4.110.0030.20716.30
5.4.100.0100.20316.25
5.4.90.0000.22716.31
5.4.80.0030.21316.28
5.4.70.0030.21016.30
5.4.60.0000.22016.41
5.4.50.0070.20316.21
5.4.40.0000.23016.46
5.4.30.0030.22316.38
5.4.20.0000.22316.21
5.4.10.0030.19316.30
5.4.00.0030.19015.67
5.3.290.0030.04014.61
5.3.280.0000.07714.58
5.3.270.0000.08014.55
5.3.260.0100.07314.46
5.3.250.0030.06714.43
5.3.240.0030.07714.59
5.3.230.0030.06314.50
5.3.220.0030.04714.43
5.3.210.0000.08314.55
5.3.200.0030.05314.42
5.3.190.0030.07314.55
5.3.180.0030.07314.55
5.3.170.0030.07714.56
5.3.160.0200.04714.42
5.3.150.0000.07714.57
5.3.140.0030.07714.53
5.3.130.0030.07714.55
5.3.120.0070.07714.40
5.3.110.0030.07714.51
5.3.100.0000.04014.02
5.3.90.0000.04013.88
5.3.80.0000.05713.99
5.3.70.0070.04713.93
5.3.60.0070.06313.91
5.3.50.0030.07313.71
5.3.40.0000.07313.88
5.3.30.0030.07313.86
5.3.20.0000.07313.54
5.3.10.0000.07713.41
5.3.00.0030.07013.62
5.2.170.0030.06311.35
5.2.160.0030.05311.35
5.2.150.0030.06311.35
5.2.140.0070.06311.35
5.2.130.0070.05711.35
5.2.120.0030.06011.35
5.2.110.0070.05311.35
5.2.100.0000.06311.35
5.2.90.0000.05311.35
5.2.80.0030.06011.35
5.2.70.0070.05011.35
5.2.60.0030.06011.35
5.2.50.0070.06011.35
5.2.40.0070.05311.35
5.2.30.0030.05311.35
5.2.20.0030.05711.35
5.2.10.0000.06011.35
5.2.00.0100.05311.35
5.1.60.0030.05311.35
5.1.50.0030.04311.35
5.1.40.0030.05011.35
5.1.30.0000.05311.35
5.1.20.0070.05011.35
5.1.10.0030.05011.35
5.1.00.0030.05311.35
5.0.50.0000.04311.35
5.0.40.0000.04711.35
5.0.30.0000.06311.35
5.0.20.0000.04011.35
5.0.10.0030.04311.35
5.0.00.0000.04711.35
4.4.90.0000.04011.35
4.4.80.0070.03311.35
4.4.70.0000.03011.35
4.4.60.0070.02711.35
4.4.50.0030.03311.35
4.4.40.0000.05011.35
4.4.30.0000.03711.35
4.4.20.0000.03711.35
4.4.10.0000.03011.35
4.4.00.0000.05011.35
4.3.110.0030.03311.35
4.3.100.0000.03311.35
4.3.90.0000.03311.35
4.3.80.0000.04011.35
4.3.70.0070.03011.35
4.3.60.0000.03311.35
4.3.50.0000.03711.35
4.3.40.0000.05011.35
4.3.30.0030.03711.35
4.3.20.0000.03711.35
4.3.10.0000.04011.35
4.3.00.0000.03711.35

preferences:
45.34 ms | 401 KiB | 5 Q