3v4l.org

run code in 300+ PHP versions simultaneously
<?php $un = "jarrod"; $uid = "1"; $key = uniqid("$uid_"); $ip = "124.168.106.184"; $time = time(); $hash = md5("$uid$ip$time"); print "$key\n"; print "$hash";

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.0070.00814.98
7.4.00.0120.00515.02
7.3.130.0100.00814.69
7.3.120.0060.01014.79
7.3.110.0070.01014.64
7.3.100.0090.00415.02
7.3.90.0030.00914.81
7.3.80.0060.00914.87
7.3.70.0100.00114.71
7.3.60.0070.01014.74
7.3.50.0050.01014.69
7.3.40.0050.00914.61
7.3.30.0020.00914.80
7.3.20.0030.00816.59
7.3.10.0070.00716.55
7.3.00.0040.00916.54
7.2.260.0100.00714.87
7.2.250.0060.01015.08
7.2.240.0040.01215.00
7.2.230.0080.00714.96
7.2.220.0050.01114.99
7.2.210.0050.00915.08
7.2.200.0070.00814.95
7.2.190.0070.00814.96
7.2.180.0070.00714.81
7.2.170.0060.00814.79
7.2.160.0060.00714.92
7.2.150.0060.00916.87
7.2.140.0070.00516.73
7.2.130.0050.00816.84
7.2.120.0080.00716.82
7.2.110.0070.00716.81
7.2.100.0070.00716.78
7.2.90.0060.00816.81
7.2.80.0090.00516.92
7.2.70.0070.00716.82
7.2.60.0040.00816.74
7.2.50.0060.00716.81
7.2.40.0050.00816.90
7.2.30.0050.01016.82
7.2.20.0030.01116.87
7.2.10.0040.01016.83
7.2.00.0030.01017.23
7.1.330.0050.01015.75
7.1.320.0070.00615.65
7.1.310.0060.00715.67
7.1.300.0070.00715.67
7.1.290.0040.01115.79
7.1.280.0040.00815.73
7.1.270.0030.00915.74
7.1.260.0040.00915.70
7.1.250.0050.00915.67
7.1.240.0050.00815.61
7.1.230.0050.01115.71
7.1.220.0050.00815.74
7.1.210.0040.00915.57
7.1.200.0070.00715.74
7.1.190.0040.00915.66
7.1.180.0050.00515.54
7.1.170.0020.00915.77
7.1.160.0070.00615.50
7.1.150.0050.01015.71
7.1.140.0070.00315.71
7.1.130.0030.00815.70
7.1.120.0030.00915.67
7.1.110.0050.00615.83
7.1.100.0060.00715.66
7.1.90.0040.00915.69
7.1.80.0070.00715.74
7.1.70.0050.00816.10
7.1.60.0040.00916.15
7.1.50.0070.00816.01
7.1.40.0030.01315.62
7.1.30.0060.00815.71
7.1.20.0070.00515.77
7.1.10.0010.01115.66
7.1.00.0050.02417.34
7.0.330.0050.00515.46
7.0.320.0040.00715.34
7.0.310.0040.00715.33
7.0.300.0050.01015.12
7.0.290.0050.00815.34
7.0.280.0020.00715.30
7.0.270.0040.00715.30
7.0.260.0060.00415.36
7.0.250.0070.00515.44
7.0.240.0070.00415.33
7.0.230.0070.00615.34
7.0.220.0040.00915.42
7.0.210.0030.00715.28
7.0.200.0040.01015.67
7.0.190.0030.01115.28
7.0.180.0080.00615.33
7.0.170.0060.00815.35
7.0.160.0050.00615.46
7.0.150.0050.01015.27
7.0.140.0060.02217.03
7.0.130.0080.00415.32
7.0.120.0060.00715.44
7.0.110.0050.00915.47
7.0.100.0170.02216.54
7.0.90.0150.02616.55
7.0.80.0140.02716.54
7.0.70.0130.02116.47
7.0.60.0190.02416.57
7.0.50.0160.01916.67
7.0.40.0080.01915.08
7.0.30.0090.02215.07
7.0.20.0050.02515.16
7.0.10.0020.02314.97
7.0.00.0090.01915.13
5.6.400.0070.00614.36
5.6.390.0070.00514.32
5.6.380.0090.00514.28
5.6.370.0040.00914.32
5.6.360.0050.00814.27
5.6.350.0060.00614.19
5.6.340.0060.00614.24
5.6.330.0030.00914.27
5.6.320.0050.00914.39
5.6.310.0070.00614.30
5.6.300.0060.00814.18
5.6.290.0080.00514.35
5.6.280.0050.02416.01
5.6.270.0040.00614.35
5.6.260.0100.00514.23
5.6.250.0080.02615.85
5.6.240.0060.02716.00
5.6.230.0080.02515.87
5.6.220.0100.02315.94
5.6.210.0060.01915.97
5.6.200.0080.02416.07
5.6.190.0090.02015.93
5.6.180.0070.02515.90
5.6.170.0060.01915.99
5.6.160.0070.02615.98
5.6.150.0050.01915.84
5.6.140.0070.01616.01
5.6.130.0050.02416.04
5.6.120.0080.02215.93
5.6.110.0090.02415.69
5.6.100.0040.01915.86
5.6.90.0100.02315.91
5.6.80.0090.02015.63
5.6.70.0060.01715.67
5.6.60.0060.02415.72
5.6.50.0040.02615.76
5.6.40.0060.02415.66
5.6.30.0020.02315.63
5.6.20.0080.02315.69
5.6.10.0050.02615.65
5.6.00.0080.02315.79
5.5.380.0070.02615.67
5.5.370.0050.01915.78
5.5.360.0070.02515.71
5.5.350.0080.01515.78
5.5.340.0070.02415.93
5.5.330.0060.02315.79
5.5.320.0070.01915.74
5.5.310.0060.01615.79
5.5.300.0090.02215.93
5.5.290.0050.02715.95
5.5.280.0080.02415.91
5.5.270.0040.02215.90
5.5.260.0070.01915.88
5.5.250.0070.01615.70
5.5.240.0070.02415.64
5.5.230.0030.02915.60
5.5.220.0090.02415.53
5.5.210.0080.02415.54
5.5.200.0080.02315.59
5.5.190.0090.01715.66
5.5.180.0080.01715.55
5.5.170.0060.00714.06
5.5.160.0080.02215.53
5.5.150.0060.02215.63
5.5.140.0070.02515.65
5.5.130.0050.02715.55
5.5.120.0050.02515.72
5.5.110.0130.01815.67
5.5.100.0060.02315.58
5.5.90.0060.02515.62
5.5.80.0070.02515.58
5.5.70.0060.02715.44
5.5.60.0060.02515.42
5.5.50.0040.02515.42
5.5.40.0070.02515.58
5.5.30.0080.02315.70
5.5.20.0090.02515.55
5.5.10.0060.02115.58
5.5.00.0040.02915.54
5.4.450.0100.02013.51
5.4.440.0040.02013.47
5.4.430.0050.02413.51
5.4.420.0060.02513.61
5.4.410.0040.02013.47
5.4.400.0080.01913.41
5.4.390.0060.02413.38
5.4.380.0060.02413.38
5.4.370.0020.02313.36
5.4.360.0040.02013.40
5.4.350.0050.02513.29
5.4.340.0060.02313.38
5.4.330.0020.00811.44
5.4.320.0030.02413.36
5.4.310.0080.02013.33
5.4.300.0040.02513.43
5.4.290.0070.02013.33
5.4.280.0040.02513.42
5.4.270.0060.01813.36
5.4.260.0060.02213.31
5.4.250.0070.02113.40
5.4.240.0060.01813.36
5.4.230.0020.02513.29
5.4.220.0060.01813.22
5.4.210.0080.02113.42
5.4.200.0010.02613.46
5.4.190.0070.02213.19
5.4.180.0050.02213.38
5.4.170.0040.01613.41
5.4.160.0050.02313.42
5.4.150.0020.01813.41
5.4.140.0020.01812.58
5.4.130.0050.02512.60
5.4.120.0040.02412.73
5.4.110.0070.02212.63
5.4.100.0050.02112.60
5.4.90.0070.02112.67
5.4.80.0060.02012.70
5.4.70.0070.01912.67
5.4.60.0080.02012.59
5.4.50.0040.02212.65
5.4.40.0050.01612.65
5.4.30.0070.02312.56
5.4.20.0050.02312.67
5.4.10.0030.02412.69
5.4.00.0050.02312.55
5.3.290.0030.02112.07
5.3.280.0060.02211.93
5.3.270.0050.01512.03
5.3.260.0020.02612.08
5.3.250.0030.02312.05
5.3.240.0070.01411.89
5.3.230.0060.01812.03
5.3.220.0040.02011.97
5.3.210.0050.02011.96
5.3.200.0040.02212.00
5.3.190.0040.02411.90
5.3.180.0060.02212.02
5.3.170.0060.02311.98
5.3.160.0040.02212.07
5.3.150.0050.02112.03
5.3.140.0040.02312.00
5.3.130.0050.02112.02
5.3.120.0050.02312.05
5.3.110.0030.02511.99
5.3.100.0060.02211.87
5.3.90.0030.01711.90
5.3.80.0060.02111.79
5.3.70.0020.02111.77
5.3.60.0040.02311.86
5.3.50.0020.01811.80
5.3.40.0070.02111.82
5.3.30.0050.01911.77
5.3.20.0060.01811.76
5.3.10.0040.02011.66
5.3.00.0020.02411.65
5.2.170.0030.06311.21
5.2.160.0000.04711.09
5.2.150.0030.05710.96
5.2.140.0000.04010.93
5.2.130.0000.05711.09
5.2.120.0030.06011.09
5.2.110.0000.06311.06
5.2.100.0030.06011.10
5.2.90.0130.05010.92
5.2.80.0130.04311.01
5.2.70.0070.06011.01
5.2.60.0070.03011.05
5.2.50.0070.06010.85
5.2.40.0000.04011.06
5.2.30.0100.05310.89
5.2.20.0030.04010.99
5.2.10.0030.06010.79
5.2.00.0130.05310.72
5.1.60.0130.04710.34
5.1.50.0030.04710.34
5.1.40.0000.04310.34
5.1.30.0130.05010.34
5.1.20.0000.05710.34
5.1.10.0030.05710.34
5.1.00.0070.05710.34
5.0.50.0000.04010.34
5.0.40.0100.03310.34
5.0.30.0070.06010.34
5.0.20.0070.04310.34
5.0.10.0000.03010.34
5.0.00.0130.05310.34
4.4.90.0030.02310.34
4.4.80.0030.03310.34
4.4.70.0000.03710.34
4.4.60.0070.03010.34
4.4.50.0030.03710.34
4.4.40.0000.05010.34
4.4.30.0030.03010.34
4.4.20.0030.03710.34
4.4.10.0070.03010.34
4.4.00.0030.05310.34
4.3.110.0000.03010.34
4.3.100.0070.03010.34
4.3.90.0000.03710.34
4.3.80.0000.05310.34
4.3.70.0030.02710.34
4.3.60.0000.03710.34
4.3.50.0000.04010.34
4.3.40.0030.05010.34
4.3.30.0000.03310.34
4.3.20.0000.03710.34
4.3.10.0000.03710.34
4.3.00.0030.03310.34

preferences:
40.45 ms | 401 KiB | 5 Q