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'); $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($score, -1, 1)); var_dump($num1, $num2, $num3); $code = $num1 . $num2 . $num3; var_dump($code); function toInt32($value) { $intval = hexdec($value); 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.0100.00716.50
8.3.50.0070.01121.96
8.3.40.0090.00618.71
8.3.30.0100.00319.09
8.3.20.0040.00420.33
8.3.10.0040.00423.43
8.3.00.0080.00017.50
8.2.180.0150.00616.88
8.2.170.0040.01122.96
8.2.160.0100.00720.49
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0100.00719.36
8.2.110.0050.00522.02
8.2.100.0080.00417.84
8.2.90.0030.00619.21
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0030.00518.04
8.2.50.0040.00418.10
8.2.40.0050.00318.16
8.2.30.0000.00818.16
8.2.20.0040.00417.64
8.2.10.0040.00418.01
8.2.00.0030.00318.39
8.1.280.0070.00725.92
8.1.270.0040.01520.10
8.1.260.0070.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.96
8.1.230.0090.00317.76
8.1.220.0060.00317.77
8.1.210.0000.00818.77
8.1.200.0000.00917.25
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0080.00018.59
8.1.160.0050.00222.06
8.1.150.0000.00718.83
8.1.140.0080.00017.44
8.1.130.0000.00717.84
8.1.120.0000.00717.52
8.1.110.0050.00317.51
8.1.100.0040.00417.50
8.1.90.0090.00017.52
8.1.80.0040.00417.49
8.1.70.0000.00717.51
8.1.60.0040.00417.64
8.1.50.0000.00717.59
8.1.40.0040.00417.54
8.1.30.0000.00817.67
8.1.20.0060.00317.67
8.1.10.0060.00317.59
8.1.00.0060.00317.37
8.0.300.0040.00418.77
8.0.290.0070.00416.75
8.0.280.0070.00018.47
8.0.270.0000.00816.91
8.0.260.0000.00817.19
8.0.250.0070.00017.07
8.0.240.0000.00817.03
8.0.230.0050.00216.92
8.0.220.0030.00416.88
8.0.210.0000.00716.87
8.0.200.0070.00017.03
8.0.190.0070.00017.05
8.0.180.0030.00716.89
8.0.170.0030.00617.02
8.0.160.0000.00717.05
8.0.150.0040.00416.82
8.0.140.0000.00716.93
8.0.130.0030.00313.40
8.0.120.0080.00017.02
8.0.110.0000.00817.01
8.0.100.0040.00416.82
8.0.90.0000.00817.00
8.0.80.0090.00616.94
8.0.70.0070.00017.10
8.0.60.0060.00316.87
8.0.50.0040.00416.93
8.0.30.0210.00617.24
8.0.20.0130.00917.40
8.0.10.0000.00716.82
8.0.00.0070.01016.81
7.4.330.0000.00615.03
7.4.320.0000.00616.46
7.4.300.0030.00316.51
7.4.290.0030.00316.55
7.4.280.0030.00616.42
7.4.270.0020.00516.64
7.4.260.0030.00316.66
7.4.250.0080.00016.61
7.4.240.0020.00516.59
7.4.230.0040.00416.57
7.4.220.0090.00916.45
7.4.210.0100.01016.55
7.4.200.0080.00016.46
7.4.160.0130.00316.58
7.4.150.0100.00717.40
7.4.140.0110.00717.86
7.4.130.0150.00616.45
7.4.120.0120.00916.39
7.4.110.0030.02016.58
7.4.100.0090.00916.54
7.4.90.0090.01416.57
7.4.80.0030.01319.39
7.4.70.0100.00616.50
7.4.60.0110.00616.61
7.4.50.0050.00016.42
7.4.40.0080.00816.48
7.4.30.0100.00716.45
7.4.00.0000.01614.60
7.3.330.0000.00513.36
7.3.320.0030.00313.30
7.3.310.0030.00316.37
7.3.300.0000.00616.31
7.3.290.0060.00716.40
7.3.280.0060.01116.34
7.3.270.0170.00017.40
7.3.260.0060.01116.73
7.3.250.0060.01216.49
7.3.240.0100.00716.59
7.3.230.0060.01216.39
7.3.210.0130.00316.43
7.3.200.0060.01519.39
7.3.190.0060.00916.36
7.3.180.0100.01316.62
7.3.170.0090.01216.69
7.3.160.0060.00916.50
7.3.00.0100.00716.64
7.2.330.0090.00916.84
7.2.320.0070.01016.77
7.2.310.0070.01016.52
7.2.300.0090.01316.62
7.2.290.0100.01316.54
7.2.130.0060.00916.66
7.2.120.0030.01016.63
7.2.110.0070.00416.81
7.2.100.0040.01116.95
7.2.90.0100.00716.86
7.2.80.0060.00616.65
7.2.70.0090.00616.85
7.2.60.0120.00016.97
7.2.50.0150.00416.72
7.2.40.0070.00416.96
7.2.30.0070.00716.91
7.2.20.0160.00316.84
7.2.10.0070.01117.07
7.2.00.0130.00517.93
7.1.250.0060.00915.60
7.1.240.0120.00315.78
7.1.230.0030.01015.59
7.1.220.0090.00615.71
7.1.210.0100.00715.86
7.1.200.0160.00015.68
7.1.190.0110.00415.77
7.1.180.0120.00315.69
7.1.170.0090.00415.73
7.1.160.0070.00715.80
7.1.150.0030.01015.50
7.1.140.0120.00415.56
7.1.130.0070.00715.54
7.1.120.0040.01115.86
7.1.110.0070.00715.87
7.1.100.0060.00616.85
7.1.90.0130.00315.86
7.1.80.0070.00715.68
7.1.70.0100.00016.33
7.1.60.0130.00517.54
7.1.50.0100.01116.41
7.1.40.0060.00915.61
7.1.30.0040.01115.60
7.1.20.0110.00715.73
7.1.10.0000.01215.78
7.1.00.0110.03719.04
7.0.330.0040.01115.08
7.0.320.0120.00315.04
7.0.310.0140.00415.35
7.0.300.0080.00415.20
7.0.290.0120.00315.20
7.0.280.0100.00315.31
7.0.270.0030.00915.23
7.0.260.0120.00315.14
7.0.250.0090.00315.32
7.0.240.0090.00615.30
7.0.230.0080.00015.43
7.0.220.0090.00615.13
7.0.210.0030.00615.06
7.0.200.0050.00516.09
7.0.190.0030.01015.25
7.0.180.0110.00715.32
7.0.170.0060.00915.57
7.0.160.0060.00615.21
7.0.150.0060.00615.35
7.0.140.0130.00315.41
7.0.130.0120.00315.34
7.0.120.0070.00315.35
7.0.110.0120.00415.35
7.0.100.0090.00615.44
7.0.90.0040.00815.57
7.0.80.0040.01215.10
7.0.70.0100.00715.34
7.0.60.0120.04017.76
7.0.50.0070.02816.79
7.0.40.0110.03316.67
7.0.30.0290.03716.91
7.0.20.0150.02616.82
7.0.10.0070.03216.68
7.0.00.0110.02716.82
5.6.380.0060.00614.16
5.6.370.0040.00814.01
5.6.360.0130.00314.31
5.6.350.0030.01114.37
5.6.340.0030.00914.55
5.6.330.0050.00514.39
5.6.320.0070.01014.36
5.6.310.0100.00314.16
5.6.300.0060.00614.02
5.6.290.0050.00514.38
5.6.280.0040.00814.46
5.6.270.0030.00614.05
5.6.260.0100.00314.27
5.6.250.0140.00014.16
5.6.240.0090.00014.28
5.6.230.0080.00314.10
5.6.220.0000.01513.73
5.6.210.0060.02017.35
5.6.200.0100.04316.16
5.6.190.0100.04217.22
5.6.180.0170.03317.16
5.6.170.0120.02417.36
5.6.160.0030.03917.29
5.6.150.0050.04316.03
5.6.140.0070.03016.18
5.6.130.0030.04616.09
5.6.120.0080.02017.59
5.6.110.0050.05017.43
5.6.100.0080.04117.57
5.6.90.0030.04517.40
5.6.80.0070.04317.07
5.6.70.0000.01114.19
5.6.60.0000.01613.86
5.6.50.0000.01313.61
5.6.40.0060.00613.77
5.6.30.0030.01013.87
5.6.20.0000.01214.21
5.6.10.0050.00813.89
5.6.00.0060.00613.69
5.5.380.0050.00211.10
5.5.370.0030.00610.91
5.5.360.0090.00010.90
5.5.350.0000.04015.66
5.5.340.0030.03214.41
5.5.330.0040.04715.61
5.5.320.0080.04315.68
5.5.310.0130.02215.61
5.5.300.0130.02314.63
5.5.290.0020.04614.66
5.5.280.0050.03715.83
5.5.270.0160.03015.82
5.5.260.0000.03115.87
5.5.250.0050.04215.80
5.5.240.0190.03315.54
5.5.230.0030.00611.19
5.5.220.0000.01011.11
5.5.210.0050.00211.18
5.5.200.0040.00410.90
5.5.190.0040.00411.05
5.5.180.0000.01010.94
5.5.170.0060.00311.03
5.5.160.0030.00511.14
5.5.150.0030.00510.93
5.5.140.0030.00311.07
5.5.130.0040.00411.09
5.5.120.0030.00610.90
5.5.110.0050.00510.90
5.5.100.0080.00010.90
5.5.90.0030.00610.90
5.5.80.0070.00311.02
5.5.70.0030.00610.90
5.5.60.0000.00711.01
5.5.50.0080.00010.90
5.5.40.0050.00311.08
5.5.30.0040.00710.90
5.5.20.0000.00810.91
5.5.10.0070.00210.90
5.5.00.0040.00410.90
5.4.450.0410.02015.18
5.4.440.0310.02115.34
5.4.430.0280.02615.17
5.4.420.0110.02515.22
5.4.410.0120.02814.95
5.4.400.0090.03014.81
5.4.390.0140.03314.77
5.4.380.0110.03914.85
5.4.370.0090.03114.72
5.4.360.0100.03714.84
5.4.350.0040.03514.90
5.4.340.0100.02714.77
5.4.330.0040.00711.05
5.4.320.0080.04014.78
5.4.310.0070.03014.92
5.4.300.0100.02515.01
5.4.290.0070.02914.87
5.4.280.0090.03014.84
5.4.270.0050.03314.70
5.4.260.0050.03714.68
5.4.250.0080.04314.94
5.4.240.0080.04214.79
5.4.230.0140.02514.93
5.4.220.0050.03314.71
5.4.210.0090.03014.83
5.4.200.0080.02813.82
5.4.190.0050.03214.75
5.4.180.0110.02814.89
5.4.170.0160.02514.79
5.4.160.0140.02414.76
5.4.150.0080.02914.91
5.4.140.0080.02813.71
5.4.130.0150.03013.72
5.4.120.0100.02513.89
5.4.110.0090.02513.84
5.4.100.0140.03213.65
5.4.90.0080.02813.75
5.4.80.0080.03213.65
5.4.70.0060.02913.54
5.4.60.0050.03013.67
5.4.50.0100.02313.56
5.4.40.0030.03013.66
5.4.30.0050.03013.62
5.4.20.0070.02713.66
5.4.10.0070.02513.58
5.4.00.0080.02613.46
5.3.290.0060.03112.78
5.3.280.0060.03012.76
5.3.270.0130.02712.84
5.3.260.0070.02912.78
5.3.250.0050.03212.84
5.3.240.0100.03612.78
5.3.230.0160.02612.82
5.3.220.0050.03112.79
5.3.210.0100.03012.74
5.3.200.0020.03212.73
5.3.190.0030.03212.82
5.3.180.0140.02212.72
5.3.170.0120.02512.79
5.3.160.0070.02812.76
5.3.150.0070.02912.78
5.3.140.0090.02512.74
5.3.130.0000.03512.71
5.3.120.0050.03512.73
5.3.110.0080.02712.75
5.3.100.0080.02512.53
5.3.90.0090.02512.53
5.3.80.0070.02712.51
5.3.70.0080.02512.54
5.3.60.0070.03012.50
5.3.50.0070.02712.45
5.3.40.0030.03112.54
5.3.30.0070.02812.43
5.3.20.0020.03112.40
5.3.10.0060.02612.27
5.3.00.0020.03212.38
5.2.170.0060.02311.06
5.2.160.0050.02211.14
5.2.150.0020.02711.02
5.2.140.0020.02511.04
5.2.130.0010.02511.00
5.2.120.0020.02411.05
5.2.110.0030.02511.06
5.2.100.0020.02511.07
5.2.90.0070.02011.11
5.2.80.0050.02511.02
5.2.70.0070.02411.01
5.2.60.0070.03210.99
5.2.50.0090.01811.01
5.2.40.0090.02510.95
5.2.30.0050.02210.96
5.2.20.0030.02310.95
5.2.10.0040.02310.95
5.2.00.0020.02510.86
5.1.60.0030.02010.55
5.1.50.0080.01510.47
5.1.40.0060.02010.49
5.1.30.0070.02410.65
5.1.20.0080.01710.73
5.1.10.0080.01710.59
5.1.00.0030.02210.51
5.0.50.0050.0159.81
5.0.40.0050.0159.66
5.0.30.0020.0239.63
5.0.20.0020.0179.57
5.0.10.0030.0169.56
5.0.00.0010.0259.56
4.4.90.0030.0108.40
4.4.80.0010.0138.42
4.4.70.0000.0168.41
4.4.60.0020.0148.45
4.4.50.0000.0138.42
4.4.40.0040.0178.44
4.4.30.0050.0168.45
4.4.20.0020.0178.44
4.4.10.0030.0138.44
4.4.00.0020.0218.47
4.3.110.0030.0178.39
4.3.100.0050.0148.35
4.3.90.0050.0148.40
4.3.80.0000.0218.37
4.3.70.0040.0108.39
4.3.60.0010.0158.38
4.3.50.0030.0128.38
4.3.40.0030.0178.35
4.3.30.0010.0147.73
4.3.20.0030.0177.74
4.3.10.0000.0157.74
4.3.00.0020.00813.35

preferences:
69.63 ms | 401 KiB | 5 Q