3v4l.org

run code in 300+ PHP versions simultaneously
<?php // http://williamsoriscompetition.com/enter.php?id=c54eaaa334be71e3da26536ffb365337185985da&score=1%2E926627&code=960349492860 $id = 'c54eaaa334be71e3da26536ffb365337185985da'; $score = urldecode('1%2E926627'); var_dump($score); $num1 = toInt32(substr($id, 0, 1)) * toInt32(substr($id, -1, 1)); $num2 = toInt32(substr($score, 0, 1)) * toInt32(substr($id, 3, 1)); $num3 = toInt32(substr($id, 2, 1)) * toInt32(substr($id, -1, 1)); $code = $num1 . $num2 . $num3; var_dump($code); function toInt32($value) { $intval = hexdec($value); var_dump($value, $intval); return (PHP_INT_SIZE === 8) ? ($intval - 0x100000000) : $intval; }

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.3.60.0040.01418.37
8.3.50.0080.01221.20
8.3.40.0120.00318.76
8.3.30.0000.01518.82
8.3.20.0000.00820.16
8.3.10.0050.00323.65
8.3.00.0080.00017.50
8.2.180.0180.00316.50
8.2.170.0090.00622.96
8.2.160.0140.00020.47
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00019.36
8.2.110.0100.00022.26
8.2.100.0060.00617.66
8.2.90.0080.00017.84
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0080.00018.16
8.2.30.0000.00718.13
8.2.20.0030.00617.64
8.2.10.0040.00418.17
8.2.00.0000.00718.30
8.1.280.0100.00725.92
8.1.270.0050.00320.18
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0040.00422.65
8.1.230.0080.00320.88
8.1.220.0030.00617.77
8.1.210.0030.00518.89
8.1.200.0060.00317.35
8.1.190.0000.00817.41
8.1.180.0060.00318.10
8.1.170.0080.00018.55
8.1.160.0000.00722.15
8.1.150.0070.00018.83
8.1.140.0040.00417.38
8.1.130.0030.00317.83
8.1.120.0040.00417.55
8.1.110.0030.00517.44
8.1.100.0040.00417.48
8.1.90.0040.00417.53
8.1.80.0000.00717.36
8.1.70.0030.00317.52
8.1.60.0000.00917.50
8.1.50.0060.00317.44
8.1.40.0030.00617.54
8.1.30.0030.00617.68
8.1.20.0040.00417.69
8.1.10.0000.00717.53
8.1.00.0050.00217.48
8.0.300.0000.00920.04
8.0.290.0040.00417.05
8.0.280.0000.00718.52
8.0.270.0070.00017.20
8.0.260.0030.00317.17
8.0.250.0030.00316.92
8.0.240.0040.00417.06
8.0.230.0070.00017.04
8.0.220.0040.00416.86
8.0.210.0070.00016.97
8.0.200.0030.00316.93
8.0.190.0040.00416.93
8.0.180.0030.00616.98
8.0.170.0040.00417.05
8.0.160.0040.00416.96
8.0.150.0070.00016.88
8.0.140.0000.00716.94
8.0.130.0030.00313.41
8.0.120.0000.00816.90
8.0.110.0040.00416.99
8.0.100.0080.00016.80
8.0.90.0050.00317.01
8.0.80.0130.01017.01
8.0.70.0040.00416.76
8.0.60.0040.00416.99
8.0.50.0000.00717.02
8.0.30.0080.01417.16
8.0.20.0150.00317.44
8.0.10.0050.00216.98
8.0.00.0130.00516.99
7.4.330.0050.00015.16
7.4.320.0070.00016.61
7.4.300.0030.00316.53
7.4.290.0000.00716.46
7.4.280.0060.00316.55
7.4.270.0070.00016.55
7.4.260.0050.00316.61
7.4.250.0040.00416.54
7.4.240.0020.00516.59
7.4.230.0000.00716.68
7.4.220.0140.00316.48
7.4.210.0100.00716.57
7.4.200.0000.00716.62
7.4.160.0110.00616.59
7.4.150.0150.00317.40
7.4.140.0070.01317.86
7.4.130.0090.00916.50
7.4.120.0110.00616.52
7.4.110.0100.01016.47
7.4.100.0130.00616.59
7.4.90.0000.01916.49
7.4.80.0140.00419.39
7.4.70.0050.01116.46
7.4.60.0000.01616.69
7.4.50.0080.00016.41
7.4.40.0050.01416.73
7.4.30.0040.01316.68
7.4.00.0080.00614.83
7.3.330.0050.00013.20
7.3.320.0000.00613.33
7.3.310.0050.00316.37
7.3.300.0000.00616.25
7.3.290.0100.00516.37
7.3.280.0020.01316.39
7.3.270.0070.01017.40
7.3.260.0060.01116.45
7.3.250.0090.01116.59
7.3.240.0080.00816.55
7.3.230.0120.00616.39
7.3.210.0100.00616.53
7.3.200.0120.01019.39
7.3.190.0070.01016.37
7.3.180.0090.00916.57
7.3.170.0100.00816.45
7.3.160.0070.01016.59
7.3.120.0080.00814.96
7.3.110.0070.00715.03
7.3.100.0040.00814.87
7.3.90.0070.00714.89
7.3.80.0030.01014.78
7.3.70.0030.00614.78
7.3.60.0000.00814.95
7.3.50.0110.00314.99
7.3.40.0040.00914.75
7.3.30.0070.00414.92
7.3.20.0100.00016.71
7.3.10.0060.00516.61
7.3.00.0070.00716.64
7.2.330.0130.00616.64
7.2.320.0100.01016.52
7.2.310.0120.01216.40
7.2.300.0130.00616.45
7.2.290.0070.01416.75
7.2.250.0090.01014.55
7.2.240.0000.01815.04
7.2.230.0090.00915.08
7.2.220.0030.01315.15
7.2.210.0090.00615.00
7.2.200.0060.00615.14
7.2.190.0040.00815.14
7.2.180.0070.00715.23
7.2.170.0070.00315.08
7.2.130.0090.00816.81
7.2.120.0090.00716.73
7.2.110.0110.00516.77
7.2.100.0090.00217.04
7.2.90.0060.00316.88
7.2.80.0030.01216.85
7.2.70.0030.00816.95
7.2.60.0120.00316.94
7.2.50.0050.01116.76
7.2.40.0060.00516.88
7.2.30.0060.01317.03
7.2.20.0050.00517.01
7.2.10.0060.00316.94
7.2.00.0030.00717.78
7.1.330.0100.00315.71
7.1.320.0030.00915.51
7.1.310.0090.00615.61
7.1.300.0030.00915.86
7.1.290.0040.01215.43
7.1.280.0030.00915.72
7.1.270.0060.00615.59
7.1.260.0030.01015.82
7.1.250.0090.00615.76
7.1.100.0060.00617.81
7.1.70.0000.00817.28
7.1.60.0060.01819.50
7.1.50.0220.00416.95
7.1.00.0000.08022.35
7.0.200.0000.00716.52
7.0.110.0070.03720.10
7.0.100.0100.04720.12
7.0.90.0100.03320.05
7.0.80.0070.05719.94
7.0.70.0000.04319.99
7.0.60.0070.07019.96
7.0.50.0130.05020.41
7.0.40.0030.04320.18
7.0.30.0030.07720.24
7.0.20.0100.08320.16
7.0.10.0030.06320.18
7.0.00.0000.07320.23
5.6.280.0000.07721.05
5.6.260.0030.05720.76
5.6.250.0030.04020.75
5.6.240.0030.06020.81
5.6.230.0030.04020.56
5.6.220.0100.03320.55
5.6.210.0070.04320.73
5.6.200.0070.07321.03
5.6.190.0100.07721.13
5.6.180.0070.06721.16
5.6.170.0030.08320.96
5.6.160.0030.04721.15
5.6.150.0000.04320.95
5.6.140.0030.08020.99
5.6.130.0170.08021.14
5.6.120.0170.07321.21
5.6.110.0070.07721.07
5.6.100.0070.07321.18
5.6.90.0170.07020.97
5.6.80.0070.08020.58
5.6.70.0100.07720.36
5.6.60.0100.07720.52
5.6.50.0170.06720.65
5.6.40.0070.08320.50
5.6.30.0070.07320.48
5.6.20.0170.06320.62
5.6.10.0000.05020.29
5.6.00.0030.08020.43
5.5.380.0070.06020.57
5.5.370.0030.05020.55
5.5.360.0100.05020.36
5.5.350.0030.07020.44
5.5.340.0100.07720.91
5.5.330.0030.04021.00
5.5.320.0000.04320.75
5.5.310.0100.07720.82
5.5.300.0070.09020.75
5.5.290.0130.07320.89
5.5.280.0100.07720.84
5.5.270.0100.07320.95
5.5.260.0070.08720.69
5.5.250.0130.06320.83
5.5.240.0030.08720.36
5.5.230.0130.07720.08
5.5.220.0000.06720.33
5.5.210.0030.03720.28
5.5.200.0170.07020.25
5.5.190.0100.07720.15
5.5.180.0030.07020.37
5.5.160.0130.07020.32
5.5.150.0130.07020.34
5.5.140.0130.05720.25
5.5.130.0070.07320.09
5.5.120.0100.07020.09
5.5.110.0030.07720.33
5.5.100.0030.05020.09
5.5.90.0030.05320.20
5.5.80.0200.06320.14
5.5.70.0100.07720.07
5.5.60.0070.03719.95
5.5.50.0100.07320.20
5.5.40.0100.07319.99
5.5.30.0070.07320.21
5.5.20.0170.06720.19
5.5.10.0070.08320.22
5.5.00.0130.07720.20
5.4.450.0100.07719.49
5.4.440.0070.07719.46
5.4.430.0130.07019.27
5.4.420.0100.07719.32
5.4.410.0030.08319.53
5.4.400.0130.06719.23
5.4.390.0030.08019.24
5.4.380.0070.04319.17
5.4.370.0100.07319.18
5.4.360.0100.07019.24
5.4.350.0100.06719.18
5.4.340.0030.07719.04
5.4.320.0070.07319.10
5.4.310.0130.04019.02
5.4.300.0070.08019.01
5.4.290.0130.07019.22
5.4.280.0000.08319.02
5.4.270.0130.06719.31
5.4.260.0030.05319.24
5.4.250.0070.06719.22
5.4.240.0130.03319.01
5.4.230.0070.07718.94
5.4.220.0100.07319.30
5.4.210.0100.07019.23
5.4.200.0070.07719.16
5.4.190.0030.08018.99
5.4.180.0000.08018.99
5.4.170.0030.08019.22
5.4.160.0030.07319.14
5.4.150.0070.08319.07
5.4.140.0100.04016.39
5.4.130.0070.07716.59
5.4.120.0100.06716.32
5.4.110.0030.07716.55
5.4.100.0100.06316.47
5.4.90.0070.07316.42
5.4.80.0030.06716.45
5.4.70.0070.07016.46
5.4.60.0100.06316.34
5.4.50.0000.07316.48
5.4.40.0100.06016.58
5.4.30.0070.07716.48
5.4.20.0070.07316.54
5.4.10.0170.06016.54
5.4.00.0030.07315.79
5.3.290.0070.07714.68
5.3.280.0130.06014.59
5.3.270.0100.07714.63
5.3.260.0100.07314.61
5.3.250.0170.06014.63
5.3.240.0070.08014.74
5.3.230.0030.08014.61
5.3.220.0000.08014.66
5.3.210.0000.07314.58
5.3.200.0070.07714.71
5.3.190.0030.06714.58
5.3.180.0030.05314.65
5.3.170.0000.04314.73
5.3.160.0070.07314.58
5.3.150.0030.07314.58
5.3.140.0030.08314.70
5.3.130.0070.07314.65
5.3.120.0030.05714.69
5.3.110.0100.07014.78
5.3.100.0130.07014.16
5.3.90.0070.07014.25
5.3.80.0070.06313.98
5.3.70.0100.05314.16
5.3.60.0100.06714.06
5.3.50.0100.03714.03
5.3.40.0130.06313.95
5.3.30.0030.06713.88
5.3.20.0000.07313.78
5.3.10.0070.07013.68
5.3.00.0030.07313.60
5.2.170.0030.06712.14
5.2.160.0100.05312.14
5.2.150.0100.05312.14
5.2.140.0070.04312.14
5.2.130.0100.03312.14
5.2.120.0000.03712.14
5.2.110.0070.06012.14
5.2.100.0000.05712.14
5.2.90.0100.05712.14
5.2.80.0030.06312.14
5.2.70.0000.06012.14
5.2.60.0100.04312.14
5.2.50.0070.04712.14
5.2.40.0030.06012.14
5.2.30.0070.05712.14
5.2.20.0130.04312.14
5.2.10.0100.05012.14
5.2.00.0000.06312.14
5.1.60.0030.04712.14
5.1.50.0100.04012.14
5.1.40.0030.05012.14
5.1.30.0100.03012.14
5.1.20.0100.05312.14
5.1.10.0030.03312.14
5.1.00.0070.05312.14
5.0.50.0000.05012.14
5.0.40.0030.03012.14
5.0.30.0100.05312.14
5.0.20.0030.04012.14
5.0.10.0070.04012.14
5.0.00.0030.06712.14
4.4.90.0000.03712.14
4.4.80.0000.03712.14
4.4.70.0030.03312.14
4.4.60.0030.03012.14
4.4.50.0000.03712.14
4.4.40.0030.02712.14
4.4.30.0030.02312.14
4.4.20.0030.03712.14
4.4.10.0030.03012.14
4.4.00.0070.02712.14
4.3.110.0070.01712.14
4.3.100.0030.03312.14
4.3.90.0070.03012.14
4.3.80.0000.05712.14
4.3.70.0070.03312.14
4.3.60.0030.03312.14
4.3.50.0030.03312.14
4.3.40.0030.05012.14
4.3.30.0070.02712.14
4.3.20.0030.03312.14
4.3.10.0000.03712.14
4.3.00.0000.03312.14

preferences:
43.99 ms | 401 KiB | 5 Q