3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = "adeabecc"; $xor = "12341234"; $spass = str_split($pass); $sxor = str_split($xor); for ($i = 0; $i <= 7; $i++) { echo $spass[$i]^$sxor[$i]; } echo $spass['a']^$sxor[1];

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.0090.00618.30
8.3.50.0130.00622.08
8.3.40.0110.00718.61
8.3.30.0140.00018.62
8.3.20.0070.00019.99
8.3.10.0080.00020.36
8.3.00.0030.00521.73
8.2.180.0100.01016.88
8.2.170.0120.00322.96
8.2.160.0100.00722.13
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0000.00720.75
8.2.110.0080.00321.03
8.2.100.0110.00017.84
8.2.90.0050.00317.88
8.2.80.0000.00819.64
8.2.70.0090.00018.05
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0040.00420.27
8.2.30.0020.00519.55
8.2.20.0030.00617.84
8.2.10.0040.00418.05
8.2.00.0030.00418.05
8.1.280.0040.01125.92
8.1.270.0040.00422.20
8.1.260.0090.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00019.27
8.1.230.0060.00622.77
8.1.220.0080.00017.79
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0080.00017.22
8.1.180.0050.00318.10
8.1.170.0000.00918.66
8.1.160.0040.00420.75
8.1.150.0050.00320.67
8.1.140.0000.00919.41
8.1.130.0000.00717.60
8.1.120.0000.00817.41
8.1.110.0070.00017.25
8.1.100.0030.00417.39
8.1.90.0040.00417.30
8.1.80.0000.00717.39
8.1.70.0030.00317.32
8.1.60.0000.00717.41
8.1.50.0000.00817.39
8.1.40.0030.00517.34
8.1.30.0030.00517.66
8.1.20.0020.00517.44
8.1.10.0000.00717.48
8.1.00.0040.00417.48
8.0.300.0030.00319.66
8.0.290.0080.00016.88
8.0.280.0030.00518.36
8.0.270.0000.00717.27
8.0.260.0030.00317.30
8.0.250.0030.00316.90
8.0.240.0040.00417.04
8.0.230.0000.00717.03
8.0.220.0050.00316.96
8.0.210.0030.00316.95
8.0.200.0040.00416.89
8.0.190.0000.00816.96
8.0.180.0020.00516.97
8.0.170.0050.00317.04
8.0.160.0080.00016.98
8.0.150.0060.00316.80
8.0.140.0040.00416.86
8.0.130.0060.00013.34
8.0.120.0070.00016.86
8.0.110.0050.00316.88
8.0.100.0000.00716.95
8.0.90.0040.00416.87
8.0.80.0060.01316.86
8.0.70.0030.00516.75
8.0.60.0000.00716.78
8.0.50.0060.00316.89
8.0.30.0120.00517.04
8.0.20.0100.01117.40
8.0.10.0040.00417.01
8.0.00.0140.00816.67
7.4.330.0000.00616.77
7.4.320.0060.00016.49
7.4.300.0050.00316.43
7.4.290.0060.00616.29
7.4.280.0040.00416.55
7.4.270.0030.00316.45
7.4.260.0030.00516.43
7.4.250.0030.00316.52
7.4.240.0000.00716.34
7.4.230.0030.00316.59
7.4.220.0090.00916.41
7.4.210.0080.00716.35
7.4.200.0000.00716.54
7.4.160.0080.00816.38
7.4.150.0110.00717.40
7.4.140.0120.01117.86
7.4.130.0150.00516.50
7.4.120.0110.00716.47
7.4.110.0160.00016.38
7.4.100.0130.01016.37
7.4.90.0060.01016.45
7.4.80.0150.00319.39
7.4.70.0210.00016.60
7.4.60.0170.00416.55
7.4.50.0110.00716.64
7.4.40.0090.00816.22
7.4.30.0060.01516.53
7.4.00.0030.01214.96
7.3.330.0000.00513.33
7.3.320.0050.00013.23
7.3.310.0000.00716.44
7.3.300.0070.00016.44
7.3.290.0030.00316.38
7.3.280.0100.00716.34
7.3.270.0120.00617.40
7.3.260.0150.00316.54
7.3.250.0130.00616.46
7.3.240.0110.00616.48
7.3.230.0090.00916.55
7.3.210.0070.01116.47
7.3.200.0130.00416.39
7.3.190.0130.00316.59
7.3.180.0060.00916.42
7.3.170.0090.00916.37
7.3.160.0060.01016.52
7.3.10.0000.01416.78
7.3.00.0100.00316.92
7.2.330.0060.01216.73
7.2.320.0040.01416.37
7.2.310.0110.01216.59
7.2.300.0100.00716.82
7.2.290.0090.00916.61
7.2.130.0000.01716.66
7.2.120.0000.01816.80
7.2.110.0090.00617.16
7.2.100.0100.00016.81
7.2.90.0090.00616.79
7.2.80.0000.01316.85
7.2.70.0000.01317.21
7.2.60.0070.00816.93
7.2.50.0060.00617.03
7.2.40.0060.00916.98
7.2.30.0060.00617.09
7.2.20.0040.00716.84
7.2.10.0090.00316.68
7.2.00.0020.01318.09
7.1.250.0060.01015.82
7.1.200.0000.01315.82
7.1.100.0050.00317.88
7.1.70.0000.01317.25
7.1.60.0060.01919.24
7.1.50.0100.01316.79
7.1.00.0000.07722.54
7.0.200.0570.00614.34
7.0.60.0300.07719.93
7.0.50.0100.04717.90
7.0.40.0030.04320.27
7.0.30.0370.08320.30
7.0.20.0130.08319.97
7.0.10.0000.09320.12
7.0.00.0000.06020.17
5.6.280.0100.06721.07
5.6.210.0030.04020.74
5.6.200.0100.07318.15
5.6.190.0100.05720.61
5.6.180.0300.06320.41
5.6.170.0330.07020.49
5.6.160.0070.08320.52
5.6.150.0100.08018.18
5.6.140.0000.07718.10
5.6.130.0030.07018.22
5.6.120.0070.07020.93
5.6.110.0100.07721.01
5.6.100.0070.08020.96
5.6.90.0000.06321.09
5.6.80.0070.08020.39
5.5.350.0330.07320.53
5.5.340.0130.07717.95
5.5.330.0030.04320.46
5.5.320.0570.07320.30
5.5.310.0130.04320.13
5.5.300.0100.04317.92
5.5.290.0130.07717.95
5.5.280.0200.05720.96
5.5.270.0070.04320.86
5.5.260.0130.05320.84
5.5.250.0070.06020.69
5.5.240.0070.07320.26

preferences:
59.49 ms | 401 KiB | 5 Q