3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = '14910855968770314426'; $guid = base_convert($id, 10, 16); $guid2 = gmp_strval(gmp_init($id, 10), 16); var_dump($guid); var_dump($guid2);

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)
8.0.30.0140.00517.30
8.0.20.0130.01017.46
8.0.00.0080.01616.99
7.4.160.0100.00616.87
7.4.150.0170.00317.40
7.4.140.0060.01117.86
7.4.130.0150.00516.63
7.4.120.0110.00616.74
7.4.110.0100.01416.81
7.4.100.0060.01816.75
7.4.90.0060.00916.58
7.4.80.0080.01416.82
7.4.70.0130.00316.76
7.4.60.0100.01016.73
7.4.50.0040.00416.50
7.4.40.0040.01122.77
7.4.30.0030.01316.86
7.4.10.0070.01015.40
7.4.00.0040.01315.29
7.3.270.0120.00417.40
7.3.260.0130.00716.45
7.3.250.0120.00616.53
7.3.240.0120.00816.48
7.3.230.0070.01616.54
7.3.210.0170.00016.46
7.3.200.0140.00819.39
7.3.190.0030.01216.70
7.3.180.0140.00416.84
7.3.170.0060.00916.40
7.3.160.0040.01116.66
7.3.130.0060.00914.87
7.3.120.0080.00814.98
7.3.110.0040.01414.80
7.3.100.0080.00814.95
7.3.90.0030.00815.08
7.3.80.0130.00314.64
7.3.70.0070.00415.05
7.3.60.0070.01015.07
7.3.50.0030.00915.17
7.3.40.0060.00615.12
7.3.30.0100.00314.97
7.3.20.0100.00716.83
7.3.10.0060.01216.73
7.3.00.0000.01316.83
7.2.330.0150.00616.82
7.2.320.0100.01016.99
7.2.310.0130.00716.52
7.2.300.0100.00716.90
7.2.290.0140.00716.87
7.2.260.0140.00715.46
7.2.250.0090.00715.25
7.2.240.0040.01115.30
7.2.230.0070.00715.24
7.2.220.0030.01014.92
7.2.210.0040.00415.37
7.2.200.0060.00615.22
7.2.190.0040.01115.34
7.2.180.0030.01215.40
7.2.170.0030.00615.27
7.2.160.0070.01015.31
7.2.150.0110.00416.88
7.2.140.0120.00317.01
7.2.130.0000.01317.10
7.2.120.0100.00717.30
7.2.110.0150.01216.76
7.2.100.0120.00617.18
7.2.90.0000.01517.09
7.2.80.0120.00617.00
7.2.70.0090.00617.25
7.2.60.0030.00717.27
7.2.50.0080.00817.01
7.2.40.0060.00617.13
7.2.30.0060.01017.20
7.2.20.0030.01017.33
7.2.10.0100.00717.20
7.2.00.0000.01618.31
7.1.330.0080.00816.01
7.1.320.0060.01315.98
7.1.310.0030.00616.35
7.1.300.0100.00315.71
7.1.290.0030.00916.10
7.1.280.0100.00316.06
7.1.270.0060.00615.91
7.1.260.0120.00616.05
7.1.250.0030.01016.01
7.1.240.0070.00615.82
7.1.230.0040.01116.06
7.1.220.0060.00916.12
7.1.210.0130.00016.12
7.1.200.0100.00315.92
7.1.190.0000.01016.04
7.1.180.0040.01116.10
7.1.170.0030.00715.79
7.1.160.0130.00315.81
7.1.150.0040.01515.97
7.1.140.0060.00315.91
7.1.130.0080.00015.95
7.1.120.0030.00915.99
7.1.110.0030.00916.07
7.1.100.0100.00517.18
7.1.90.0040.00815.88
7.1.80.0060.00615.85
7.1.70.0030.01016.63
7.1.60.0070.00517.79
7.1.50.0070.01116.63
7.1.40.0090.00315.93
7.1.30.0060.00616.09
7.1.20.0040.01116.23
7.1.10.0000.00816.17
7.1.00.0040.04219.40
7.0.330.0060.00815.58
7.0.320.0100.00715.61
7.0.310.0000.01715.69
7.0.300.0030.00915.65
7.0.290.0110.00415.43
7.0.280.0040.01115.70
7.0.270.0110.00015.48
7.0.260.0030.00815.45
7.0.250.0090.00615.69
7.0.240.0070.00715.70
7.0.230.0040.00715.84
7.0.220.0030.00615.75
7.0.210.0070.00715.90
7.0.200.0050.00516.38
7.0.190.0070.00715.67
7.0.180.0030.00715.49
7.0.170.0090.00315.76
7.0.160.0030.01015.70
7.0.150.0080.00315.70
7.0.140.0080.03819.07
7.0.130.0100.00715.79
7.0.120.0030.00615.66
7.0.110.0070.00415.73
7.0.100.0030.01015.57
7.0.90.0100.00315.63
7.0.80.0060.00915.81
7.0.70.0060.01818.69
7.0.60.0030.02018.73
7.0.50.0020.02219.13
7.0.40.0020.02816.96
7.0.30.0030.02017.11
7.0.20.0050.02517.07
7.0.10.0000.02917.06
7.0.00.0030.03417.07
5.6.400.0000.01114.52
5.6.390.0100.00314.29
5.6.380.0060.00614.72
5.6.370.0000.01414.39
5.6.360.0060.00914.52
5.6.350.0120.00614.84
5.6.340.0120.00414.86
5.6.330.0030.00614.25
5.6.320.0040.01114.82
5.6.310.0060.00614.81
5.6.300.0050.00514.90
5.6.290.0030.01314.68
5.6.280.0070.04018.06
5.6.270.0070.00714.62
5.6.260.0070.00314.57
5.6.250.0030.00914.43
5.6.240.0060.00614.48
5.6.230.0090.00614.33
5.6.220.0020.02017.72
5.6.210.0050.01917.71
5.6.200.0020.02217.85
5.6.190.0070.02317.88
5.6.180.0020.01917.92
5.6.170.0030.02817.77
5.6.160.0040.03017.90
5.6.150.0050.02317.84
5.6.140.0060.04618.03
5.6.130.0050.04617.91
5.6.120.0030.03118.09
5.6.110.0020.03717.84
5.6.100.0090.04117.89
5.6.90.0020.02517.86
5.6.80.0040.04417.44
5.6.70.0050.03417.54
5.6.60.0030.03517.55
5.6.50.0090.03717.38
5.6.40.0090.04017.64
5.6.30.0020.04517.52
5.6.20.0080.03317.57
5.6.10.0060.04317.68
5.6.00.0020.04917.60
5.5.380.0110.00714.38
5.5.370.0060.00914.52
5.5.360.0030.02017.28
5.5.350.0030.02417.60
5.5.340.0050.02717.87
5.5.330.0050.02517.71
5.5.320.0020.02117.83
5.5.310.0020.03417.65
5.5.300.0050.04517.74
5.5.290.0050.05717.75
5.5.280.0030.04118.02
5.5.270.0040.03517.84
5.5.260.0070.03217.74
5.5.250.0050.03917.60
5.5.240.0080.03117.45
5.5.230.0080.03817.43
5.5.220.0050.03717.52
5.5.210.0020.04317.46
5.5.200.0200.02717.24
5.5.190.0060.04117.22
5.5.180.0050.04517.29
5.5.170.0150.00014.18
5.5.160.0070.03417.19
5.5.150.0090.03917.38
5.5.140.0080.03417.29
5.5.130.0110.03717.45
5.5.120.0060.03617.42
5.5.110.0070.03817.24
5.5.100.0020.04717.45
5.5.90.0070.03217.26
5.5.80.0030.03717.42
5.5.70.0080.04117.42
5.5.60.0030.03817.33
5.5.50.0040.04117.28
5.5.40.0050.04117.30
5.5.30.0030.04117.34
5.5.20.0030.03917.31
5.5.10.0030.04717.34
5.5.00.0050.04317.28
5.4.450.0080.03515.35
5.4.440.0050.03015.61
5.4.430.0040.03815.47
5.4.420.0050.02415.56
5.4.410.0020.03215.41
5.4.400.0020.04115.35
5.4.390.0030.04315.38
5.4.380.0030.04315.36
5.4.370.0070.03515.39
5.4.360.0020.04315.40
5.4.350.0090.03715.32
5.4.340.0040.04415.36
5.4.330.0120.00311.41
5.4.320.0080.02815.42
5.4.310.0050.04315.36
5.4.300.0050.03215.39
5.4.290.0030.04015.34
5.4.280.0050.04215.47
5.4.270.0050.02415.47
5.4.260.0080.02715.41
5.4.250.0020.04215.33
5.4.240.0030.03815.38
5.4.230.0050.03415.18
5.4.220.0020.04415.38
5.4.210.0060.03315.34
5.4.200.0070.03315.19
5.4.190.0100.03615.34
5.4.180.0050.04015.30
5.4.170.0020.05015.31
5.4.160.0030.03815.32
5.4.150.0000.04015.30
5.4.140.0090.03713.98
5.4.130.0030.04014.02
5.4.120.0070.03013.89
5.4.110.0100.03014.00
5.4.100.0020.03513.99
5.4.90.0050.04014.08
5.4.80.0080.03814.07
5.4.70.0060.03213.98
5.4.60.0020.04113.98
5.4.50.0030.04213.97
5.4.40.0020.04213.98
5.4.30.0050.03813.95
5.4.20.0050.04014.04
5.4.10.0030.03513.97
5.4.00.0070.03313.75
5.3.290.0050.03712.96
5.3.280.0040.03612.93
5.3.270.0030.04312.97
5.3.260.0050.03112.94
5.3.250.0020.03112.93
5.3.240.0000.04312.93
5.3.230.0020.04412.99
5.3.220.0070.03212.97
5.3.210.0070.04212.98
5.3.200.0040.03912.91
5.3.190.0020.04312.98
5.3.180.0040.04112.96
5.3.170.0000.03912.90
5.3.160.0050.03212.97
5.3.150.0080.03112.91
5.3.140.0070.03512.97
5.3.130.0020.04212.98
5.3.120.0070.03512.89
5.3.110.0030.03812.90
5.3.100.0030.03512.65
5.3.90.0070.03712.64
5.3.80.0040.03312.70
5.3.70.0020.02312.70
5.3.60.0020.03812.70
5.3.50.0030.03612.66
5.3.40.0030.02312.65
5.3.30.0030.03812.64
5.3.20.0030.03312.48
5.3.10.0050.03012.41
5.3.00.0030.03012.40
5.2.170.0030.06311.38
5.2.160.0000.04011.38
5.2.150.0000.06711.38
5.2.140.0030.06311.38
5.2.130.0000.05311.38
5.2.120.0000.05011.38
5.2.110.0030.03011.38
5.2.100.0030.05311.38
5.2.90.0030.05311.38
5.2.80.0070.03311.38
5.2.70.0000.06711.38
5.2.60.0030.06311.38
5.2.50.0000.06711.38
5.2.40.0030.06011.38
5.2.30.0030.06011.38
5.2.20.0030.06311.38
5.2.10.0070.05311.38
5.2.00.0000.06011.38
5.1.60.0030.05011.38
5.1.50.0030.05311.38
5.1.40.0000.05011.38
5.1.30.0030.05311.38
5.1.20.0000.05711.38
5.1.10.0000.04711.38
5.1.00.0070.03311.38
5.0.50.0030.03711.38
5.0.40.0000.04711.38
5.0.30.0000.06311.38
5.0.20.0070.04011.38
5.0.10.0030.04011.38
5.0.00.0000.07311.38
4.4.90.0000.03711.38
4.4.80.0030.02711.38
4.4.70.0000.02311.38
4.4.60.0070.03311.38
4.4.50.0030.03011.38
4.4.40.0030.04311.38
4.4.30.0030.03311.38
4.4.20.0000.02711.38
4.4.10.0030.03311.38
4.4.00.0000.05311.38
4.3.110.0000.03711.38
4.3.100.0070.02711.38
4.3.90.0000.03711.38
4.3.80.0000.05011.38
4.3.70.0000.02311.38
4.3.60.0030.02311.38
4.3.50.0030.03311.38
4.3.40.0000.03311.38
4.3.30.0000.03311.38
4.3.20.0000.03311.38
4.3.10.0000.03711.38
4.3.00.0070.02711.38