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 'a' ^ 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.0120.00318.43
8.3.50.0070.01121.99
8.3.40.0110.00418.79
8.3.30.0110.00418.58
8.3.20.0050.00220.27
8.3.10.0090.00020.64
8.3.00.0080.00021.77
8.2.180.0200.00016.75
8.2.170.0140.00722.96
8.2.160.0070.00722.13
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00021.11
8.2.120.0050.00326.35
8.2.110.0030.00620.54
8.2.100.0040.00818.03
8.2.90.0050.00319.40
8.2.80.0070.00317.97
8.2.70.0000.01117.50
8.2.60.0090.00018.16
8.2.50.0040.00418.09
8.2.40.0030.00620.54
8.2.30.0000.00819.45
8.2.20.0030.00717.80
8.2.10.0070.00018.16
8.2.00.0000.00718.11
8.1.280.0040.01125.92
8.1.270.0080.00022.08
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0090.00023.96
8.1.230.0070.00317.70
8.1.220.0060.00317.79
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0090.00017.22
8.1.180.0040.00418.10
8.1.170.0040.00418.41
8.1.160.0000.00720.64
8.1.150.0030.00518.79
8.1.140.0080.00019.51
8.1.130.0040.00417.65
8.1.120.0070.00017.27
8.1.110.0000.00717.27
8.1.100.0070.00017.38
8.1.90.0050.00317.43
8.1.80.0040.00417.30
8.1.70.0000.00717.43
8.1.60.0030.00517.50
8.1.50.0000.00817.55
8.1.40.0030.00517.55
8.1.30.0080.00017.58
8.1.20.0060.00317.47
8.1.10.0020.00517.47
8.1.00.0070.00017.47
8.0.300.0070.00018.77
8.0.290.0040.00416.88
8.0.280.0000.00718.35
8.0.270.0070.00017.16
8.0.260.0050.00317.15
8.0.250.0040.00417.03
8.0.240.0030.00317.01
8.0.230.0000.00716.91
8.0.220.0050.00216.94
8.0.210.0000.00816.93
8.0.200.0070.00016.89
8.0.190.0050.00217.00
8.0.180.0030.00516.94
8.0.170.0040.00416.96
8.0.160.0000.00816.91
8.0.150.0040.00416.87
8.0.140.0040.00416.83
8.0.130.0040.00413.26
8.0.120.0040.00416.85
8.0.110.0000.00716.80
8.0.100.0080.00016.72
8.0.90.0040.00416.77
8.0.80.0090.00616.86
8.0.70.0000.00716.94
8.0.60.0000.00716.79
8.0.50.0080.00016.95
8.0.30.0080.00817.07
8.0.20.0110.00917.40
8.0.10.0080.00016.88
8.0.00.0100.00716.74
7.4.330.0060.00016.67
7.4.320.0060.00016.47
7.4.300.0070.00016.51
7.4.290.0060.00316.43
7.4.280.0000.00716.55
7.4.270.0000.00716.52
7.4.260.0050.00516.51
7.4.250.0040.00416.30
7.4.240.0000.00716.42
7.4.230.0000.00716.46
7.4.220.0150.00316.57
7.4.210.0110.00316.47
7.4.200.0000.00716.61
7.4.160.0030.01316.54
7.4.150.0070.01117.40
7.4.140.0090.01317.86
7.4.130.0150.00516.45
7.4.120.0060.01216.58
7.4.110.0070.01016.71
7.4.100.0100.00716.63
7.4.90.0070.01016.59
7.4.80.0130.00319.39
7.4.70.0060.01216.34
7.4.60.0090.00916.63
7.4.50.0070.01116.46
7.4.40.0080.00816.39
7.4.30.0030.01316.55
7.4.00.0070.00715.18
7.3.330.0020.00213.16
7.3.320.0050.00013.17
7.3.310.0000.00716.37
7.3.300.0030.00316.35
7.3.290.0030.00316.21
7.3.280.0110.00716.36
7.3.270.0070.01017.40
7.3.260.0070.01016.36
7.3.250.0120.00616.47
7.3.240.0090.00916.41
7.3.230.0110.00716.43
7.3.210.0060.01216.49
7.3.200.0120.00616.38
7.3.190.0040.01116.51
7.3.180.0030.01316.45
7.3.170.0190.00416.42
7.3.160.0130.00316.47
7.3.10.0070.00716.64
7.3.00.0080.00016.74
7.2.330.0070.01116.54
7.2.320.0070.01016.64
7.2.310.0180.00016.80
7.2.300.0060.01116.77
7.2.290.0030.01316.71
7.2.130.0110.00317.02
7.2.120.0000.00916.93
7.2.110.0000.01016.95
7.2.100.0040.01116.82
7.2.90.0000.01516.75
7.2.80.0030.01316.89
7.2.70.0060.01217.07
7.2.60.0070.00916.99
7.2.50.0090.00616.92
7.2.40.0000.01416.74
7.2.30.0100.00316.88
7.2.20.0090.00616.91
7.2.10.0070.00716.99
7.2.00.0060.00618.21
7.1.250.0080.00515.82
7.1.200.0070.00715.85
7.1.100.0150.00618.15
7.1.70.0030.00516.92
7.1.60.0190.00619.24
7.1.50.0070.01016.64
7.1.00.0100.07022.46
7.0.200.0350.01314.21
7.0.60.0030.08721.70
7.0.50.0170.07017.84
7.0.40.0070.04020.07
7.0.30.0470.06720.16
7.0.20.0400.06720.12
7.0.10.0030.05720.33
7.0.00.0070.04320.45
5.6.280.0070.05321.15
5.6.210.0100.08020.51
5.6.200.0070.07018.18
5.6.190.0100.08720.33
5.6.180.0270.08020.41
5.6.170.0370.05020.50
5.6.160.0100.04020.49
5.6.150.0000.07018.16
5.6.140.0230.06718.19
5.6.130.0170.06318.17
5.6.120.0070.08721.14
5.6.110.0100.07720.99
5.6.100.0070.07721.13
5.6.90.0130.07721.03
5.6.80.0030.04020.51
5.5.350.0130.07720.49
5.5.340.0130.06017.91
5.5.330.0070.08020.19
5.5.320.0430.05320.13
5.5.310.0400.06720.29
5.5.300.0030.04318.01
5.5.290.0030.07318.02
5.5.280.0030.05320.96
5.5.270.0070.03720.96
5.5.260.0100.08320.67
5.5.250.0100.07320.49
5.5.240.0200.03720.21

preferences:
53.05 ms | 401 KiB | 5 Q