3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(crypt('pass', '$2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy')); var_dump(password_hash('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)
7.3.10.0030.06816.65
7.3.00.0030.07116.40
7.2.130.0070.06616.58
7.2.120.0030.07216.61
7.2.110.0000.07016.78
7.2.100.0130.06716.81
7.2.90.0060.06816.81
7.2.80.0030.07116.75
7.2.70.0030.07316.73
7.2.60.0100.06516.88
7.2.50.0030.06816.70
7.2.40.0070.07016.52
7.2.30.0130.06416.69
7.2.20.0030.06816.64
7.2.10.0030.07016.56
7.2.00.0020.07617.94
7.1.250.0000.07715.64
7.1.100.0000.07317.95
7.1.70.0000.06816.82
7.1.60.0130.12620.03
7.1.50.0130.12116.80
7.1.00.0030.16022.36
7.0.200.0030.06416.34
7.0.60.0270.13019.91
7.0.50.0000.11317.77
7.0.40.0000.12019.90
7.0.30.0270.13320.21
7.0.20.0200.10320.13
7.0.10.0200.15720.13
7.0.00.0030.10320.20
5.6.210.0070.15720.70
5.6.200.0100.16018.16
5.6.190.0030.10720.60
5.6.180.0330.14720.49
5.6.170.0370.10720.47
5.6.160.0070.14020.46
5.6.150.0000.16318.22
5.6.140.0100.10318.08
5.6.130.0070.12718.22
5.6.120.0130.15720.98
5.6.110.0100.11321.11
5.6.100.0000.10721.07
5.6.90.0070.16721.09
5.6.80.0130.15720.37
5.5.350.0230.15720.39
5.5.340.0070.12317.95
5.5.330.0030.12020.21
5.5.320.0330.15020.51
5.5.310.0300.11320.30
5.5.300.0000.11017.98
5.5.290.0070.15317.98
5.5.280.0030.10320.88
5.5.270.0100.16320.87
5.5.260.0100.12320.72
5.5.250.0170.12720.70
5.5.240.0100.14320.15
5.4.450.0670.15019.64
5.4.440.0670.13319.24
5.4.430.0570.13719.63
5.4.420.0670.13019.58
5.4.410.0700.13719.00
5.4.400.0630.13019.09
5.4.390.0600.13719.13
5.4.380.0500.14019.14
5.4.370.0770.12718.95
5.4.360.0500.13719.28
5.4.350.0630.12719.00
5.4.340.0500.13319.14
5.4.320.0630.13019.34
5.4.310.0470.14019.25
5.4.300.0500.13719.30
5.4.290.0500.13319.05
5.4.280.0600.12719.12
5.4.270.0770.11019.25
5.4.260.0530.12719.16
5.4.250.0500.13318.80
5.4.240.0600.12319.18
5.4.230.0670.15319.21
5.4.220.0670.13318.94
5.4.210.0530.15019.25
5.4.200.0700.13019.25
5.4.190.0770.13318.79
5.4.180.0630.14019.21
5.4.170.0700.13719.25
5.4.160.0530.13018.78
5.4.150.0570.13318.94
5.4.140.0570.12316.35
5.4.130.0570.12016.38
5.4.120.0700.12016.39
5.4.110.0530.13716.35
5.4.100.0600.12016.36
5.4.90.0600.12316.29
5.4.80.0470.12716.35
5.4.70.0170.09716.16
5.4.60.0230.10716.36
5.4.50.0200.09316.20
5.4.40.0370.13716.38
5.4.30.0000.09716.16
5.4.20.0200.11016.28
5.4.10.0200.10316.43

preferences:
36.56 ms | 400 KiB | 5 Q