3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "COenrdmr"; $str[0] = chr(ord($str[0]) + hexdec('6b') - hexdec('42')); $str[1] = chr(ord($str[1]) + hexdec('61') - hexdec('65')); $str[2] = chr(ord($str[2]) + hexdec('61') - hexdec('65')); $str[3] = chr(ord($str[3]) + hexdec('79') - hexdec('47')); $str[4] = chr(ord($str[4]) - hexdec('79') + hexdec('47')); $str[5] = chr(ord($str[5]) - hexdec('62') + hexdec('65')); $str[6] = chr(ord($str[6]) - hexdec('61') + hexdec('65')); $str[7] = chr(ord($str[7]) - hexdec('42') + hexdec('6B')); var_dump($str);

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.0170.00316.50
8.3.50.0110.00822.04
8.3.40.0090.00618.83
8.3.30.0090.00618.97
8.3.20.0000.00720.33
8.3.10.0040.00421.73
8.3.00.0050.00519.38
8.2.180.0110.01118.15
8.2.170.0120.00619.08
8.2.160.0060.00922.96
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00019.36
8.2.110.0000.00921.10
8.2.100.0000.01118.03
8.2.90.0060.00319.34
8.2.80.0060.00317.97
8.2.70.0000.00917.75
8.2.60.0060.00318.16
8.2.50.0030.00518.09
8.2.40.0060.00320.61
8.2.30.0030.00319.51
8.2.20.0040.00417.69
8.2.10.0000.00818.14
8.2.00.0070.00017.75
8.1.280.0030.01225.92
8.1.270.0080.00018.86
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.59
8.1.230.0080.00417.82
8.1.220.0080.00017.76
8.1.210.0000.00818.77
8.1.200.0060.00317.47
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0000.00818.66
8.1.160.0040.00420.64
8.1.150.0030.00518.96
8.1.140.0040.00417.42
8.1.130.0040.00417.91
8.1.120.0090.00017.43
8.1.110.0090.00017.47
8.1.100.0040.00417.48
8.1.90.0000.00717.48
8.1.80.0000.00717.39
8.1.70.0040.00417.50
8.1.60.0040.00417.56
8.1.50.0060.00317.52
8.1.40.0000.00717.56
8.1.30.0040.00417.67
8.1.20.0060.00317.57
8.1.10.0040.00417.57
8.1.00.0040.00417.38
8.0.300.0030.00618.77
8.0.290.0030.00616.75
8.0.280.0070.00018.34
8.0.270.0030.00517.20
8.0.260.0070.00017.20
8.0.250.0000.00716.96
8.0.240.0060.00016.98
8.0.230.0000.00717.01
8.0.220.0030.00316.92
8.0.210.0040.00416.81
8.0.200.0000.00616.88
8.0.190.0000.00816.97
8.0.180.0040.00416.86
8.0.170.0040.00416.90
8.0.160.0050.00316.94
8.0.150.0000.00816.92
8.0.140.0070.00016.78
8.0.130.0080.00013.31
8.0.120.0100.00016.78
8.0.110.0020.00516.95
8.0.100.0080.00016.82
8.0.90.0040.00416.81
8.0.80.0100.00716.87
8.0.70.0040.00417.04
8.0.60.0050.00316.86
8.0.50.0040.00416.72
8.0.30.0160.00917.02
8.0.20.0080.01017.44
8.0.10.0040.00416.88
8.0.00.0130.00616.67
7.4.330.0050.00015.03
7.4.320.0060.00016.52
7.4.300.0040.00416.46
7.4.290.0070.00016.64
7.4.280.0050.00516.56
7.4.270.0070.00016.61
7.4.260.0070.00016.45
7.4.250.0040.00416.52
7.4.240.0040.00416.65
7.4.230.0000.00716.66
7.4.220.0070.01116.50
7.4.210.0080.00716.61
7.4.200.0030.00316.39
7.4.160.0120.00416.48
7.4.150.0090.00917.40
7.4.140.0100.01217.86
7.4.130.0130.00716.63
7.4.120.0100.01316.52
7.4.110.0100.01316.61
7.4.100.0120.01316.50
7.4.90.0140.00716.55
7.4.80.0070.01319.39
7.4.70.0060.00916.64
7.4.60.0030.01316.61
7.4.50.0000.00816.56
7.4.40.0150.00616.59
7.4.30.0080.00816.61
7.4.10.0060.01314.77
7.4.00.0070.01115.09
7.3.330.0000.00613.19
7.3.320.0090.00613.24
7.3.310.0040.00316.36
7.3.300.0000.00616.34
7.3.290.0030.00316.27
7.3.280.0090.00916.27
7.3.270.0070.01017.40
7.3.260.0060.01016.59
7.3.250.0140.00416.34
7.3.240.0120.00916.50
7.3.230.0160.00316.39
7.3.210.0160.00316.24
7.3.200.0100.00616.36
7.3.190.0060.00916.47
7.3.180.0040.01216.31
7.3.170.0100.01116.31
7.3.160.0060.01216.54
7.3.130.0090.00914.91
7.3.120.0000.01914.82
7.3.110.0070.01414.86
7.3.100.0060.00614.86
7.3.90.0100.00614.77
7.3.80.0040.01114.55
7.3.70.0030.00714.96
7.3.60.0030.01314.95
7.3.50.0060.00914.74
7.3.40.0000.00914.63
7.3.30.0030.00714.52
7.3.20.0030.01016.68
7.3.10.0000.00916.57
7.3.00.0070.00316.69
7.2.330.0110.00616.66
7.2.320.0040.01216.42
7.2.310.0080.01116.82
7.2.300.0070.01016.43
7.2.290.0090.01216.75
7.2.260.0130.00614.91
7.2.250.0060.01315.18
7.2.240.0030.01415.20
7.2.230.0070.01115.15
7.2.220.0000.01614.87
7.2.210.0100.00714.99
7.2.200.0070.00415.20
7.2.190.0070.01015.07
7.2.180.0080.00815.04
7.2.170.0030.01215.22
7.2.160.0000.00915.29
7.2.150.0090.00616.72
7.2.140.0090.00916.85
7.2.130.0030.00817.04
7.2.120.0040.00716.63
7.2.110.0110.00717.00
7.2.100.0090.00916.91
7.2.90.0030.00916.82
7.2.80.0040.00817.11
7.2.70.0050.00516.70
7.2.60.0030.00716.56
7.2.50.0070.01116.88
7.2.40.0070.00717.04
7.2.30.0120.00616.59
7.2.20.0040.00816.89
7.2.10.0090.00316.63
7.2.00.0110.00317.87
7.1.330.0040.01115.67
7.1.320.0070.00415.95
7.1.310.0070.00315.94
7.1.300.0100.00615.69
7.1.290.0080.00815.67
7.1.280.0030.00915.80
7.1.270.0070.00315.78
7.1.260.0000.01315.86
7.1.250.0030.00915.54
7.1.240.0110.00415.87
7.1.230.0030.01715.73
7.1.220.0100.00715.61
7.1.210.0030.01015.87
7.1.200.0030.01015.95
7.1.190.0100.00015.87
7.1.180.0030.01015.99
7.1.170.0120.00315.74
7.1.160.0040.00415.90
7.1.150.0030.01215.73
7.1.140.0100.00715.92
7.1.130.0060.00615.68
7.1.120.0030.00716.02
7.1.110.0030.00915.87
7.1.100.0030.01016.96
7.1.90.0000.01115.75
7.1.80.0030.01015.76
7.1.70.0050.00516.32
7.1.60.0070.01117.69
7.1.50.0070.00916.30
7.1.40.0040.01115.86
7.1.30.0040.00815.48
7.1.20.0000.01415.55
7.1.10.0050.00515.89
7.1.00.0040.04119.00
7.0.330.0070.00715.41
7.0.320.0060.00615.26
7.0.310.0070.00715.53
7.0.300.0040.00815.46
7.0.290.0090.00315.28
7.0.280.0090.00615.49
7.0.270.0080.00415.52
7.0.260.0000.01015.41
7.0.250.0060.00315.65
7.0.240.0030.00615.18
7.0.230.0000.01115.59
7.0.220.0030.00715.54
7.0.210.0060.00615.15
7.0.200.0130.00715.20
7.0.190.0080.00815.52
7.0.180.0030.00615.24
7.0.170.0060.00615.49
7.0.160.0030.00615.40
7.0.150.0030.00715.26
7.0.140.0030.04218.74
7.0.130.0090.00315.45
7.0.120.0100.00615.59
7.0.110.0030.01015.36
7.0.100.0070.00715.13
7.0.90.0090.00315.44
7.0.80.0000.01415.64
7.0.70.0060.00315.33
7.0.60.0070.02917.68
7.0.50.0070.04716.64
7.0.40.0090.02516.86
7.0.30.0250.02016.86
7.0.20.0200.04216.89
7.0.10.0150.04316.71
7.0.00.0070.03916.81
5.6.400.0040.01214.19
5.6.390.0110.00414.05
5.6.380.0100.00614.33
5.6.370.0090.00614.53
5.6.360.0000.01514.50
5.6.350.0080.00614.47
5.6.340.0000.01514.28
5.6.330.0030.01014.14
5.6.320.0080.00414.06
5.6.310.0000.01314.39
5.6.300.0030.01314.38
5.6.290.0030.01414.46
5.6.280.0050.04217.84
5.6.270.0110.00014.41
5.6.260.0090.00314.35
5.6.250.0030.00914.55
5.6.240.0110.00314.25
5.6.230.0040.00714.43
5.6.220.0040.00814.17
5.6.210.0100.04817.37
5.6.200.0050.03816.32
5.6.190.0030.05017.53
5.6.180.0180.03317.23
5.6.170.0150.03117.52
5.6.160.0030.04917.37
5.6.150.0030.03216.43
5.6.140.0100.02016.31
5.6.130.0050.03416.25
5.6.120.0030.03817.77
5.6.110.0080.04317.55
5.6.100.0100.03617.63
5.6.90.0030.05117.78
5.6.80.0110.03817.30
5.6.70.0190.03817.39
5.6.60.0030.01114.21
5.6.50.0040.00814.23
5.6.40.0060.00914.08
5.6.30.0030.01014.25
5.6.20.0030.01014.05
5.6.10.0080.00414.23
5.6.00.0030.01014.30
5.5.380.0000.01214.66
5.5.370.0040.01114.05
5.5.360.0120.00014.21
5.5.350.0200.03817.49
5.5.340.0250.02216.22
5.5.330.0080.02017.22
5.5.320.0100.02517.35
5.5.310.0190.02617.34
5.5.300.0090.04016.18
5.5.290.0090.04216.15
5.5.280.0000.02817.66
5.5.270.0150.02517.44
5.5.260.0070.03317.40
5.5.250.0070.04317.55
5.5.240.0060.03317.07
5.5.230.0030.00614.34
5.5.220.0070.00714.55
5.5.210.0000.01614.09
5.5.200.0130.00414.34
5.5.190.0050.01014.43
5.5.180.0060.01114.19
5.5.170.0060.01314.36
5.5.160.0040.01414.30
5.5.150.0080.01114.38
5.5.140.0200.00014.09
5.5.130.0150.00414.39
5.5.120.0040.01114.14
5.5.110.0040.01214.41
5.5.100.0030.01014.34
5.5.90.0040.00414.33
5.5.80.0140.00014.16
5.5.70.0060.01214.29
5.5.60.0030.00614.38
5.5.50.0130.00314.27
5.5.40.0070.01114.02
5.5.30.0120.00314.42
5.5.20.0080.00414.43
5.5.10.0040.00814.51
5.5.00.0070.00713.78
5.4.450.0200.03315.41
5.4.440.0390.03415.28
5.4.430.0330.03115.23
5.4.420.0520.03215.14
5.4.410.0090.03414.97
5.4.400.0280.02814.81
5.4.390.0180.03814.83
5.4.380.0180.03214.94
5.4.370.0150.03314.82
5.4.360.0180.03214.69
5.4.350.0300.03414.78
5.4.340.0180.03514.67
5.4.330.0030.00711.04
5.4.320.0200.03114.76
5.4.310.0220.03514.73
5.4.300.0150.03614.75
5.4.290.0200.03314.74
5.4.280.0170.03614.82
5.4.270.0220.03714.72
5.4.260.0100.02914.78
5.4.250.0100.03014.94
5.4.240.0100.03014.70
5.4.230.0070.03714.88
5.4.220.0200.03614.85
5.4.210.0130.03514.79
5.4.200.0210.02613.73
5.4.190.0210.02814.85
5.4.180.0170.03114.72
5.4.170.0200.02814.76
5.4.160.0210.02514.83
5.4.150.0180.02914.72
5.4.140.0220.02713.57
5.4.130.0180.02813.69
5.4.120.0200.03413.68
5.4.110.0170.02913.67
5.4.100.0260.03413.72
5.4.90.0180.02913.59
5.4.80.0230.02713.56
5.4.70.0170.03313.60
5.4.60.0250.02813.71
5.4.50.0150.03213.62
5.4.40.0180.03013.68
5.4.30.0180.02313.56
5.4.20.0190.02713.53
5.4.10.0170.03013.71
5.4.00.0240.02813.38
5.3.290.0300.06714.77
5.3.280.0330.06014.58
5.3.270.0470.06014.71
5.3.260.0500.06714.60
5.3.250.0400.06014.67
5.3.240.0500.06714.71
5.3.230.0430.07314.68
5.3.220.0300.05714.53
5.3.210.0330.06314.49
5.3.200.0500.05314.63
5.3.190.0400.05714.50
5.3.180.0370.06014.66
5.3.170.0370.05714.46
5.3.160.0570.06014.58
5.3.150.0300.06314.50
5.3.140.0270.06014.56
5.3.130.0400.05314.54
5.3.120.0430.08714.46
5.3.110.0430.07714.51
5.3.100.0500.06013.96
5.3.90.0470.06714.00
5.3.80.0370.06014.00
5.3.70.0500.05714.12
5.3.60.0300.05714.09
5.3.50.0370.04314.05
5.3.40.0330.05714.05
5.3.30.0370.04713.85
5.3.20.0400.04013.65
5.3.10.0270.05713.66
5.3.00.0470.04013.55
5.2.170.0200.05011.31
5.2.160.0270.04011.16
5.2.150.0230.04311.21
5.2.140.0200.04711.14
5.2.130.0300.03711.10
5.2.120.0230.05010.99
5.2.110.0270.04011.18
5.2.100.0330.04011.10
5.2.90.0270.04311.04
5.2.80.0230.04711.07
5.2.70.0230.04011.14
5.2.60.0200.04711.09
5.2.50.0330.03711.02
5.2.40.0300.04011.07
5.2.30.0270.04711.01
5.2.20.0270.05310.90
5.2.10.0500.03710.92
5.2.00.0270.05310.77
5.1.60.0200.03310.05
5.1.50.0170.03710.12
5.1.40.0200.03710.02
5.1.30.0370.03710.33
5.1.20.0270.03310.41
5.1.10.0230.03310.11
5.1.00.0230.03310.12
5.0.50.0100.0308.58
5.0.40.0130.0308.48
5.0.30.0130.0478.38
5.0.20.0100.0278.21
5.0.10.0130.0278.16
5.0.00.0100.0478.20
4.4.90.0100.0305.88
4.4.80.0100.0235.92
4.4.70.0100.0235.84
4.4.60.0170.0235.93
4.4.50.0070.0275.91
4.4.40.0100.0435.96
4.4.30.0200.0135.92
4.4.20.0130.0205.97
4.4.10.0130.0305.89
4.4.00.0100.0375.91
4.3.110.0130.0205.81
4.3.100.0100.0205.84
4.3.90.0100.0205.82
4.3.80.0100.0435.80
4.3.70.0130.0175.79
4.3.60.0170.0135.80
4.3.50.0100.0235.85
4.3.40.0070.0375.78
4.3.30.0030.0234.63
4.3.20.0070.0234.57
4.3.10.0070.0234.59
4.3.00.0130.0206.63

preferences:
54.03 ms | 401 KiB | 5 Q