3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = '!Password1'; $second = '!Passwor'; $password_salt = "311ca5f0-08ac-0131-ca44-42d9c34959f9"; echo crypt($first,$password_salt); echo crypt($second,$password_salt); //Result: 31T5JJcAI4fZg 31T5JJcAI4fZg

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)
5.5.40.0030.06317.20
5.5.30.0070.06317.22
5.5.20.0100.07717.19
5.5.10.0030.06317.26
5.5.00.0070.04317.21
5.4.200.0130.05719.12
5.4.190.0070.06019.04
5.4.180.0270.05319.13
5.4.170.0030.05019.09
5.4.160.0100.07319.01
5.4.150.0070.07718.96
5.4.140.0130.06016.32
5.4.130.0070.07016.42
5.4.120.0030.07316.31
5.4.110.0000.05716.41
5.4.100.0000.08016.42
5.4.90.0100.05716.38
5.4.80.0000.07716.43
5.4.70.0130.06016.53
5.4.60.0000.07716.40
5.4.50.0170.06016.55
5.4.40.0100.07016.45
5.4.30.0030.07316.52
5.4.20.0100.07016.42
5.4.10.0070.07716.35
5.4.00.0030.07015.73
5.3.270.0000.04014.61
5.3.260.0070.04314.55
5.3.250.0030.05314.48
5.3.240.0100.06314.52
5.3.230.0130.07714.59
5.3.220.0100.06714.53
5.3.210.0130.07014.54
5.3.200.0070.05014.50
5.3.190.0070.07714.51
5.3.180.0030.07714.64
5.3.170.0100.05014.42
5.3.160.0030.06714.56
5.3.150.0070.07314.64
5.3.140.0100.06714.53
5.3.130.0070.06314.46
5.3.120.0030.06714.47
5.3.110.0070.06714.48
5.3.100.0100.07313.89
5.3.90.0100.05013.99
5.3.80.0030.05313.97
5.3.70.0000.04713.97
5.3.60.0000.05013.96
5.3.50.0030.07714.03
5.3.40.0030.08013.91
5.3.30.0070.07013.86
5.3.20.0100.06313.67
5.3.10.0030.04713.59
5.3.00.0130.07013.60

preferences:
147.28 ms | 1398 KiB | 7 Q