3v4l.org

run code in 300+ PHP versions simultaneously
<?php function generate_GUID() { $uuid = md5(uniqid(rand(), true)); $guid = substr($uuid,0,8)."-". substr($uuid,8,4)."-". substr($uuid,12,4)."-". substr($uuid,16,4)."-". substr($uuid,20,12); return $guid; } echo strtoupper(generate_GUID());

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.2.00.0030.01019.39
7.1.70.0030.00516.95
7.1.60.0070.00717.19
7.1.50.0090.01216.72
7.1.00.0000.07722.40
7.0.200.0060.01016.72
7.0.140.0030.07322.07
7.0.120.0100.05022.00
7.0.60.0000.08319.96
7.0.50.0030.07717.90
7.0.40.0100.07317.82
7.0.30.0030.05717.79
7.0.20.0070.08317.71
7.0.10.0130.07717.72
7.0.00.0100.08017.74
5.6.280.0000.07721.06
5.6.210.0130.07720.53
5.6.200.0070.08318.25
5.6.190.0170.06718.15
5.6.180.0070.08018.22
5.6.170.0200.07718.23
5.6.160.0070.08018.12
5.6.150.0070.07718.29
5.6.140.0170.07018.27
5.6.130.0130.08018.18
5.6.120.0000.05018.29
5.6.110.0100.06718.20
5.6.100.0100.08018.20
5.6.90.0030.04318.27
5.6.80.0100.07317.54
5.6.70.0000.04317.53
5.6.60.0070.08317.56
5.6.50.0030.08317.57
5.6.40.0130.05017.63
5.6.30.0170.06717.52
5.6.20.0200.06317.65
5.6.10.0070.07317.46
5.6.00.0130.07317.46
5.5.350.0300.07720.41
5.5.340.0100.07718.05
5.5.330.0000.06017.96
5.5.320.0030.06717.96
5.5.310.0070.06017.91
5.5.300.0070.04717.95
5.5.290.0030.05017.95
5.5.280.0100.04318.02
5.5.270.0070.06017.99
5.5.260.0030.09017.98
5.5.250.0030.04017.83
5.5.240.0100.04317.48
5.5.230.0070.07717.33
5.5.220.0030.08017.39
5.5.210.0070.05317.33
5.5.200.0070.06017.33
5.5.190.0070.08017.31
5.5.180.0000.08717.44
5.5.160.0030.08017.30
5.5.150.0070.07317.31
5.5.140.0170.05717.38
5.5.130.0100.07717.43
5.5.120.0070.04317.34
5.5.110.0030.08317.28
5.5.100.0000.05317.18
5.5.90.0030.04017.32
5.5.80.0130.03017.26
5.5.70.0070.04717.20
5.5.60.0070.04717.21
5.5.50.0030.03717.23
5.5.40.0070.03717.20
5.5.30.0000.04717.18
5.5.20.0030.04017.22
5.5.10.0030.04017.22
5.5.00.0070.03717.19
5.4.450.0100.07719.60
5.4.440.0130.04319.34
5.4.430.0100.05319.20
5.4.420.0070.07719.33
5.4.410.0000.05319.33
5.4.400.0000.07019.05
5.4.390.0070.07319.03
5.4.380.0130.06719.07
5.4.370.0030.04018.89
5.4.360.0030.05319.05
5.4.350.0170.06719.05
5.4.340.0070.07018.96
5.4.320.0030.08319.14
5.4.310.0030.08019.08
5.4.300.0030.08319.00
5.4.290.0030.04019.04
5.4.280.0030.07719.14
5.4.270.0000.05318.88
5.4.260.0030.07719.02
5.4.250.0100.03719.12
5.4.240.0070.03319.04
5.4.230.0030.05319.11
5.4.220.0030.05019.09
5.4.210.0070.03319.00
5.4.200.0030.03719.26
5.4.190.0070.04319.00
5.4.180.0070.03319.26
5.4.170.0030.03719.04
5.4.160.0100.03019.00
5.4.150.0070.03318.94
5.4.140.0030.03716.40
5.4.130.0070.03016.39
5.4.120.0030.05316.29
5.4.110.0000.04016.42
5.4.100.0070.03016.41
5.4.90.0070.03016.64
5.4.80.0000.03716.32
5.4.70.0070.03016.28
5.4.60.0070.03016.39
5.4.50.0030.03316.36
5.4.40.0030.03716.41
5.4.30.0030.03316.57
5.4.20.0030.03716.34
5.4.10.0030.06016.43
5.4.00.0000.03716.02
5.3.290.0100.08014.73
5.3.280.0070.03714.64
5.3.270.0100.03014.64
5.3.260.0070.03314.82
5.3.250.0070.03314.57
5.3.240.0070.03714.59
5.3.230.0070.03314.66
5.3.220.0030.03314.63
5.3.210.0000.04014.57
5.3.200.0070.03314.63
5.3.190.0000.04314.63
5.3.180.0000.04314.59
5.3.170.0070.04014.60
5.3.160.0070.03314.62
5.3.150.0000.03714.57
5.3.140.0070.03014.64
5.3.130.0000.04014.55
5.3.120.0030.05014.57
5.3.110.0030.03714.54
5.3.100.0130.05014.02
5.3.90.0070.04714.05
5.3.80.0100.06314.22
5.3.70.0070.03314.08
5.3.60.0000.08013.98
5.3.50.0100.07013.79
5.3.40.0030.06013.90
5.3.30.0100.07313.98
5.3.20.0100.06713.54
5.3.10.0070.04313.60
5.3.00.0030.08013.66
5.2.170.0100.06011.23
5.2.160.0070.04311.36
5.2.150.0070.06011.20
5.2.140.0070.06011.21
5.2.130.0070.06011.20
5.2.120.0030.06011.12
5.2.110.0030.05311.13
5.2.100.0030.06711.15
5.2.90.0000.05711.14
5.2.80.0070.03010.93
5.2.70.0030.03311.16
5.2.60.0030.04011.04
5.2.50.0030.06311.07
5.2.40.0100.03711.02
5.2.30.0100.04010.92
5.2.20.0030.06311.16
5.2.10.0100.06010.89
5.2.00.0030.05310.77
5.1.60.0000.02710.04
5.1.50.0030.04710.13
5.1.40.0030.06010.12
5.1.30.0000.06010.42
5.1.20.0070.05710.37
5.1.10.0030.04310.05
5.1.00.0130.05010.13
5.0.50.0070.0238.75
5.0.40.0030.0478.35
5.0.30.0100.0608.33
5.0.20.0000.0238.23
5.0.10.0070.0438.06
5.0.00.0000.0608.14
4.4.90.0000.0177.69
4.4.80.0000.0207.69
4.4.70.0030.0337.69
4.4.60.0000.0377.69
4.4.50.0030.0277.69
4.4.40.0000.0577.69
4.4.30.0030.0307.69
4.4.20.0030.0337.69
4.4.10.0030.0377.69
4.4.00.0000.0577.69
4.3.110.0030.0377.69
4.3.100.0030.0237.69
4.3.90.0030.0337.69
4.3.80.0000.0407.69
4.3.70.0030.0337.69
4.3.60.0030.0377.69
4.3.50.0030.0337.69
4.3.40.0000.0307.69
4.3.30.0000.0277.69
4.3.20.0030.0377.69
4.3.10.0030.0337.69
4.3.00.0000.0337.69

preferences:
32.2 ms | 401 KiB | 5 Q