3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'teste'; $hash = password_hash($password, PASSWORD_DEFAULT); echo $hash . '<br />'; # $2y$10$PwbhVaqzuUSl5wSdi.iCK.RBz5pQp/a.6lRdSRttY8s2qs7dn5hTq $verified = password_verify($password, $hash); var_dump($verified);

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.00.0100.13614.93
7.3.120.0130.12714.85
7.3.110.0130.13314.45
7.3.100.0030.13314.58
7.3.90.0070.12914.69
7.3.80.0160.12414.95
7.3.70.0030.13314.85
7.3.60.0070.13014.83
7.3.50.0070.13514.67
7.3.40.0030.13214.77
7.3.30.0000.13914.59
7.3.20.0030.13016.55
7.3.10.0000.13416.78
7.3.00.0070.12916.68
7.2.250.0130.13415.02
7.2.240.0030.14515.07
7.2.230.0070.13215.02
7.2.220.0030.13114.72
7.2.210.0030.13015.25
7.2.200.0100.12614.73
7.2.190.0100.12714.95
7.2.180.0000.13915.09
7.2.170.0070.12415.03
7.2.60.0130.12216.70
7.2.00.0030.13319.40
7.1.330.0030.12915.82
7.1.320.0100.12415.98
7.1.310.0030.13815.62
7.1.300.0070.12715.80
7.1.290.0100.12515.85
7.1.280.0030.12915.53
7.1.270.0070.13015.53
7.1.260.0070.12615.76
7.1.200.0000.13415.70
7.1.70.0030.12617.22
7.1.60.0070.12317.21
7.1.50.0130.13434.78
7.1.00.0000.14322.45
7.0.200.0000.20516.71
7.0.140.0000.22721.99
7.0.60.0000.21020.00
7.0.50.0070.16317.82
7.0.40.0130.16720.21
7.0.30.0170.17020.32
7.0.20.0370.21720.30
7.0.10.0030.21720.33
7.0.00.0000.16320.07
5.6.280.0100.23021.09
5.6.210.0100.19720.74
5.6.200.0100.15318.17
5.6.190.0000.24020.43
5.6.180.0170.16320.56
5.6.170.0330.21020.71
5.6.160.0030.16720.39
5.6.150.0070.19318.18
5.6.140.0030.16718.14
5.6.130.0070.16318.28
5.6.120.0170.21721.11
5.6.110.0130.22021.13
5.6.100.0030.17721.00
5.6.90.0100.20021.09
5.6.80.0070.18320.39
5.6.70.0030.23020.51
5.5.350.0130.22020.32
5.5.340.0030.18317.98
5.5.330.0000.16720.21
5.5.320.0200.22720.27
5.5.310.0270.21720.20
5.5.300.0070.22317.87
5.5.290.0100.20017.95
5.5.280.0170.21020.79
5.5.270.0100.16720.91
5.5.260.0330.21020.78
5.5.250.0030.22720.77
5.5.240.0100.20720.18
5.4.450.0630.06019.47
5.4.440.0930.06019.27
5.4.430.0670.06719.44
5.4.420.0570.05019.64
5.4.410.0400.04719.30
5.4.400.1200.07018.75
5.4.390.1300.06718.54
5.4.380.0230.06018.62
5.4.370.0130.05018.48
5.4.360.0130.05018.61
5.4.350.0070.03811.97
5.4.340.0060.04511.96
5.4.320.0050.03712.45
5.4.310.0050.03812.45
5.4.300.0070.03612.45
5.4.290.0050.04212.45
5.4.280.0050.03712.35
5.4.270.0040.04512.35
5.4.260.0020.04212.34
5.4.250.0130.04718.80
5.4.240.0100.05018.67
5.4.230.0070.05318.67
5.4.220.0100.06318.95
5.4.210.0130.07018.61
5.4.200.0100.07318.87
5.4.190.0030.05718.80
5.4.180.0100.05018.95
5.4.170.0100.05018.94
5.4.160.0000.05718.82
5.4.150.0130.04718.63
5.4.140.0100.04716.30
5.4.130.0000.05316.26
5.4.120.0030.05316.40
5.4.110.0070.05016.20
5.4.100.0100.04316.30
5.4.90.0070.04316.28
5.4.80.0070.05016.32
5.4.70.0200.05316.43
5.4.60.0130.04316.33
5.4.50.0070.04716.34
5.4.40.0130.04316.25
5.4.30.0100.04316.33
5.4.20.0030.05016.38
5.4.10.0030.05316.30
5.4.00.0000.05315.74
5.3.290.0100.05112.80
5.3.280.0070.05314.46
5.3.270.0070.07014.61
5.3.260.0100.06014.64
5.3.250.0100.04714.38
5.3.240.0030.05314.44
5.3.230.0070.05014.46
5.3.220.0170.04314.43
5.3.210.0100.05014.57
5.3.200.0100.04714.58
5.3.190.0100.04714.56
5.3.180.0000.05314.55
5.3.170.0070.05014.43
5.3.160.0070.05014.56
5.3.150.0000.06314.43
5.3.140.0170.03714.57
5.3.130.0070.05314.45
5.3.120.0100.05014.56
5.3.110.0000.06014.46
5.3.100.0100.04714.03
5.3.90.0100.04713.79
5.3.80.0070.05013.95
5.3.70.0100.04313.87
5.3.60.0100.04713.70
5.3.50.0070.05014.04
5.3.40.0170.04014.10
5.3.30.0100.04713.95
5.3.20.0100.04313.54
5.3.10.0030.05713.34
5.3.00.0170.04313.33
5.2.170.0070.04011.15
5.2.160.0070.03711.07
5.2.150.0070.04011.05
5.2.140.0100.03711.29
5.2.130.0000.04310.99
5.2.120.0070.03711.10
5.2.110.0070.05011.11
5.2.100.0030.04011.10
5.2.90.0100.03311.21
5.2.80.0000.04710.99
5.2.70.0100.03311.24
5.2.60.0130.03310.81
5.2.50.0000.04710.93
5.2.40.0070.03310.99
5.2.30.0000.04310.82
5.2.20.0100.03710.71
5.2.10.0070.03710.77
5.2.00.0070.03710.77
5.1.60.0000.0379.76
5.1.50.0030.03310.14
5.1.40.0070.03010.21
5.1.30.0030.03310.30
5.1.20.0100.03310.42
5.1.10.0030.03310.10
5.1.00.0030.0539.91
5.0.50.0000.0308.56
5.0.40.0030.0278.31
5.0.30.0030.0408.28
5.0.20.0030.0338.14
5.0.10.0030.0278.16
5.0.00.0000.0438.07
4.4.90.0000.0235.75
4.4.80.0070.0175.76
4.4.70.0000.0235.75
4.4.60.0070.0175.77
4.4.50.0070.0235.75
4.4.40.0000.0335.79
4.4.30.0070.0175.77
4.4.20.0070.0205.80
4.4.10.0000.0235.75
4.4.00.0000.0335.83
4.3.110.0000.0235.78
4.3.100.0000.0235.77
4.3.90.0130.0105.81
4.3.80.0000.0335.71
4.3.70.0070.0175.71
4.3.60.0030.0175.73
4.3.50.0000.0235.80
4.3.40.0000.0335.71
4.3.30.0000.0205.71
4.3.20.0070.0175.71
4.3.10.0000.0235.71
4.3.00.0030.0276.31

preferences:
38.35 ms | 400 KiB | 5 Q