3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = md5(microtime(true)); $save_passwd = crypt('abcdefg', '$2y$07$'.$salt.'$'); $options = [ 'cost' => 7, 'salt' => $salt, ]; $fofo = $password_hash('abcdefg', PASSWORD_BCRYPT, $options); echo $fofo."\n"; echo $save_passwd.'\n'; $encrypt = crypt('abcdefg' , $save_passwd); echo $encrypt.'\n'; if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~"; $p = '$6$rounds=5000$a0f2b3982ee93269$elwPV03aKLzE5/BvG374xvJ8IA4sSG/pc7YyDJ3Ud9seBBfFJaMY9kIqHwQhz9fJOJ3kQVJ6oPjp6G9T9pOCB'; if(password_verify('abcdefg', $p)){ 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)
7.4.10.0100.01614.95
7.4.00.0090.01715.04
7.3.130.0080.01814.87
7.3.120.0070.01714.86
7.3.110.0100.01614.87
7.3.100.0080.01314.94
7.3.90.0070.01814.87
7.3.80.0040.01714.92
7.3.70.0070.01214.79
7.3.60.0030.01814.91
7.3.50.0060.01414.85
7.3.40.0050.01814.76
7.3.30.0070.01314.80
7.3.20.0050.01616.59
7.3.10.0020.01916.57
7.3.00.0040.01816.70
7.2.260.0020.02314.88
7.2.250.0050.01914.84
7.2.240.0090.01415.14
7.2.230.0060.01415.14
7.2.220.0050.01714.93
7.2.210.0030.02014.81
7.2.200.0020.02114.91
7.2.190.0020.02115.02
7.2.180.0040.02115.17
7.2.170.0050.01815.12
7.2.160.0030.01714.86
7.2.150.0050.01616.70
7.2.140.0080.01316.78
7.2.130.0060.01716.98
7.2.120.0070.01316.92
7.2.110.0070.01716.78
7.2.100.0110.01216.90
7.2.90.0050.01616.85
7.2.80.0060.01716.69
7.2.70.0090.01216.94
7.2.60.0110.01216.84
7.2.50.0030.01816.88
7.2.40.0080.01616.90
7.2.30.0110.01316.87
7.2.20.0060.01616.84
7.2.10.0070.01716.91
7.2.00.0080.01917.35
7.1.330.0020.02115.71
7.1.320.0060.01315.77
7.1.310.0110.01315.76
7.1.300.0050.01615.71
7.1.290.0070.01515.84
7.1.280.0120.00615.72
7.1.270.0040.01715.75
7.1.260.0030.01815.84
7.1.250.0070.01415.69
7.1.240.0060.01515.68
7.1.230.0090.01515.63
7.1.220.0060.01715.64
7.1.210.0070.01415.59
7.1.200.0060.01415.61
7.1.190.0060.01515.70
7.1.180.0090.01415.75
7.1.170.0030.01915.84
7.1.160.0090.01415.80
7.1.150.0080.01415.81
7.1.140.0080.01615.84
7.1.130.0070.01615.77
7.1.120.0060.01815.61
7.1.110.0020.01815.61
7.1.100.0030.01615.82
7.1.90.0090.01615.67
7.1.80.0100.01015.78
7.1.70.0070.01515.99
7.1.60.0070.02116.59
7.1.50.0060.02016.02
7.1.40.0030.01715.68
7.1.30.0070.01815.73
7.1.20.0090.01415.78
7.1.10.0080.01515.67
7.1.00.0070.03117.41
7.0.330.0020.01715.46
7.0.320.0070.01615.38
7.0.310.0050.01815.50
7.0.300.0060.01515.33
7.0.290.0040.01715.46
7.0.280.0090.01415.27
7.0.270.0070.01415.48
7.0.260.0060.01615.46
7.0.250.0060.01615.44
7.0.240.0060.01615.44
7.0.230.0020.01515.54
7.0.220.0060.01515.35
7.0.210.0050.01415.42
7.0.200.0060.01415.74
7.0.190.0070.01415.46
7.0.180.0050.01515.39
7.0.170.0050.01915.41
7.0.160.0060.01515.37
7.0.150.0050.01615.48
7.0.140.0050.03217.08
7.0.130.0090.01315.39
7.0.120.0080.01215.42
7.0.110.0050.01715.41
7.0.100.0070.01415.37
7.0.90.0070.01415.36
7.0.80.0070.01715.38
7.0.70.0060.01715.41
7.0.60.0060.03116.88
7.0.50.0040.02615.95
7.0.40.0120.02415.16
7.0.30.0110.02715.03
7.0.20.0130.03315.10
7.0.10.0040.03715.11
7.0.00.0050.02515.14
5.6.400.0030.02014.58
5.6.390.0030.01514.44
5.6.380.0050.01614.40
5.6.370.0090.01614.35
5.6.360.0070.01614.33
5.6.350.0050.01914.23
5.6.340.0080.01514.49
5.6.330.0130.01314.42
5.6.320.0060.01914.48
5.6.310.0080.01414.28
5.6.300.0040.01814.22
5.6.290.0060.01714.27
5.6.280.0090.03116.05
5.6.270.0060.01914.34
5.6.260.0120.01614.21
5.6.250.0160.01414.22
5.6.240.0090.01814.26
5.6.230.0120.01614.31
5.6.220.0140.01314.27
5.6.210.0070.03615.85
5.6.200.0120.03715.16
5.6.190.0060.03615.85
5.6.180.0140.02215.75
5.6.170.0110.02715.73
5.6.160.0110.03215.83
5.6.150.0060.03015.29
5.6.140.0100.03415.29
5.6.130.0080.03015.21
5.6.120.0110.03115.99
5.6.110.0040.03015.97
5.6.100.0060.03315.88
5.6.90.0110.02115.88
5.6.80.0100.02715.78
5.6.70.0110.01714.13
5.6.60.0070.01714.16
5.6.50.0050.01814.27
5.6.40.0110.01314.24
5.6.30.0070.01614.03
5.6.20.0040.01814.06
5.6.10.0110.01514.24
5.6.00.0070.01614.19
5.5.380.0170.01713.20
5.5.370.0220.01413.17
5.5.360.0060.01912.95
5.5.350.1100.02615.01
5.5.340.0060.03514.34
5.5.330.0030.02714.96
5.5.320.0150.03214.89
5.5.310.0130.02614.90
5.5.300.0060.03414.46
5.5.290.0090.03314.43
5.5.280.0080.03415.04
5.5.270.0090.03415.17
5.5.260.0070.03215.13
5.5.250.0090.03315.00
5.5.240.0110.02214.82
5.5.230.0090.01313.18
5.5.220.0110.01613.00
5.5.210.0090.01313.11
5.5.200.0070.01712.96
5.5.190.0080.01612.99
5.5.180.0070.01212.97
5.5.170.0090.01313.12
5.5.160.0050.01813.01
5.5.150.0010.02013.15
5.5.140.0080.01212.98
5.5.130.0090.01413.12
5.5.120.0070.01712.86
5.5.110.0060.01612.94
5.5.100.0080.01613.06
5.5.90.0090.01213.13
5.5.80.0080.01512.98
5.5.70.0050.01413.05
5.5.60.0030.01813.02
5.5.50.0070.01513.14
5.5.40.0050.01812.96
5.5.30.0050.01312.92
5.5.20.0010.01913.09
5.5.10.0020.01613.01
5.5.00.0010.01613.15
5.4.450.1120.02313.97
5.4.440.0070.02213.94
5.4.430.0450.03013.95
5.4.420.1150.02214.02
5.4.410.1130.02213.98
5.4.400.1280.01913.88
5.4.390.0670.02513.78
5.4.380.0920.02213.89
5.4.370.0700.02113.86
5.4.360.0910.02013.93
5.4.350.0890.02213.85
5.4.340.0840.02313.78
5.4.330.0040.01712.03
5.4.320.1060.02213.86
5.4.310.0060.03413.85
5.4.300.1160.02213.83
5.4.290.1180.02313.87
5.4.280.1180.02213.92
5.4.270.1240.01913.94
5.4.260.1000.02113.85
5.4.250.0980.02213.83
5.4.240.0990.02213.87
5.4.230.1170.01713.79
5.4.220.0490.02313.80
5.4.210.0070.02413.86
5.4.200.0040.02613.75
5.4.190.0950.02213.90
5.4.180.1120.02113.86
5.4.170.0980.02213.87
5.4.160.1000.01913.88
5.4.150.0910.02313.87
5.4.140.1100.02313.08
5.4.130.1120.02113.21
5.4.120.1000.02313.14
5.4.110.0950.02213.14
5.4.100.0960.02113.21
5.4.90.1080.02113.26
5.4.80.1050.01913.20
5.4.70.1100.02213.22
5.4.60.1000.01913.21
5.4.50.1010.02113.20
5.4.40.1030.02413.23
5.4.30.0920.02213.16
5.4.20.1090.02413.25
5.4.10.0990.02213.25
5.4.00.1080.02113.04
5.3.290.0220.01912.54
5.3.280.1170.01312.59
5.3.270.0980.01112.58
5.3.260.0960.01412.56
5.3.250.1280.01212.53
5.3.240.1120.01612.54
5.3.230.0950.01712.54
5.3.220.0940.01612.49
5.3.210.1020.01112.52
5.3.200.0980.01112.49
5.3.190.1160.01412.53
5.3.180.1130.01612.57
5.3.170.0960.01412.59
5.3.160.1130.01212.54
5.3.150.1160.01412.51
5.3.140.0970.01512.50
5.3.130.1240.01412.57
5.3.120.1180.01312.60
5.3.110.1040.01412.57
5.3.100.1000.01212.48
5.3.90.1030.01212.44
5.3.80.1030.01612.40
5.3.70.1210.01212.40
5.3.60.1040.01312.39
5.3.50.1160.01612.33
5.3.40.1060.01112.32
5.3.30.1050.01412.33
5.3.20.1050.01212.34
5.3.10.0980.01512.26
5.3.00.1140.01712.25
5.2.170.1770.01710.19
5.2.160.1660.01510.08
5.2.150.1720.01210.15
5.2.140.1800.01510.19
5.2.130.1770.0159.96
5.2.120.1810.01610.09
5.2.110.1950.01410.12
5.2.100.1930.01810.18
5.2.90.2020.01210.11
5.2.80.1940.01810.04
5.2.70.1970.0179.92
5.2.60.1950.0179.99
5.2.50.1840.01610.12
5.2.40.1660.01010.08
5.2.30.1650.0149.96
5.2.20.1510.0139.92
5.2.10.1650.0109.83
5.2.00.1480.0149.77
5.1.60.1650.0129.20
5.1.50.1430.0139.11
5.1.40.1480.0149.28
5.1.30.1430.0139.34
5.1.20.1380.0199.37
5.1.10.1260.0159.24
5.1.00.1200.0169.13
5.0.50.0630.0128.46
5.0.40.0630.0118.37
5.0.30.0670.0168.26
5.0.20.0760.0128.27
5.0.10.0660.0148.25
5.0.00.0710.0158.27
4.4.90.0890.0087.22
4.4.80.0850.0097.22
4.4.70.0900.0137.22
4.4.60.0700.0087.22
4.4.50.0880.0117.22
4.4.40.0720.0137.22
4.4.30.0930.0107.22
4.4.20.0330.0107.22
4.4.10.0620.0107.22
4.4.00.0640.0127.22
4.3.110.0710.0107.22
4.3.100.0630.0107.22
4.3.90.0630.0097.22
4.3.80.0600.0157.22
4.3.70.0640.0107.22
4.3.60.0320.0127.22
4.3.50.0610.0117.22
4.3.40.0630.0147.22
4.3.30.0310.0107.22
4.3.20.0280.0117.22
4.3.10.0280.0117.22
4.3.00.0300.0097.22

preferences:
40.21 ms | 401 KiB | 5 Q