3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( "showpassword"=>"no", "bgcolor"=>"#ffffff"); $key = json_encode($data); $data2 = "ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw="; $text = base64_decode($data2); $outText = ''; for($i=0;$i<strlen($text);$i++) { $outText .= $text[$i] ^ $key[$i % strlen($key)]; } echo $outText; xor_encrypt();

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.00918.43
8.3.50.0170.00316.57
8.3.40.0170.00318.60
8.3.30.0110.00418.67
8.3.20.0080.00020.14
8.3.10.0050.00323.51
8.3.00.0060.00319.52
8.2.180.0140.00716.75
8.2.170.0100.00322.96
8.2.160.0130.00319.11
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00019.27
8.2.120.0050.00326.35
8.2.110.0000.00920.54
8.2.100.0000.01217.84
8.2.90.0040.00419.34
8.2.80.0040.00418.04
8.2.70.0080.00417.50
8.2.60.0060.00318.05
8.2.50.0040.00418.10
8.2.40.0020.00520.59
8.2.30.0040.00419.30
8.2.20.0000.00718.19
8.2.10.0040.00418.06
8.2.00.0040.00418.19
8.1.280.0080.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00320.97
8.1.230.0040.00719.16
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0090.00017.10
8.1.190.0040.00417.23
8.1.180.0070.00018.10
8.1.170.0030.00518.52
8.1.160.0000.00719.09
8.1.150.0000.00818.81
8.1.140.0040.00419.40
8.1.130.0000.00818.76
8.1.120.0030.00317.34
8.1.110.0000.00817.42
8.1.100.0000.00717.33
8.1.90.0040.00417.31
8.1.80.0050.00217.30
8.1.70.0000.00717.43
8.1.60.0000.00817.50
8.1.50.0080.00017.43
8.1.40.0030.00617.55
8.1.30.0040.00417.68
8.1.20.0030.00617.64
8.1.10.0000.00817.57
8.1.00.0000.00717.55
8.0.300.0050.00318.77
8.0.290.0000.00916.88
8.0.280.0070.00018.41
8.0.270.0000.00717.26
8.0.260.0070.00016.90
8.0.250.0030.00317.04
8.0.240.0040.00417.08
8.0.230.0030.00317.01
8.0.220.0070.00016.84
8.0.210.0000.00717.00
8.0.200.0040.00417.00
8.0.190.0040.00417.01
8.0.180.0000.00716.89
8.0.170.0000.00717.00
8.0.160.0120.00017.00
8.0.150.0050.00216.84
8.0.140.0000.00716.96
8.0.130.0050.00013.37
8.0.120.0080.00316.93
8.0.110.0030.00516.75
8.0.100.0020.00516.97
8.0.90.0080.00016.84
8.0.80.0090.00616.95
8.0.70.0080.00016.78
8.0.60.0040.00416.98
8.0.50.0080.00016.90
8.0.30.0120.01217.09
8.0.20.0090.01017.40
8.0.10.0000.00716.96
8.0.00.0140.00416.86
7.4.330.0030.00315.55
7.4.320.0030.00316.44
7.4.300.0000.00716.52
7.4.290.0000.00816.52
7.4.280.0000.00716.65
7.4.270.0040.00416.44
7.4.260.0070.00016.52
7.4.250.0000.00716.58
7.4.240.0070.00016.56
7.4.230.0030.00316.35
7.4.220.0140.01416.43
7.4.210.0070.01016.64
7.4.200.0070.00016.26
7.4.160.0130.00316.60
7.4.150.0140.00417.40
7.4.140.0070.01617.86
7.4.130.0120.00616.59
7.4.120.0070.01216.51
7.4.110.0030.01516.42
7.4.100.0130.01016.36
7.4.90.0070.01716.60
7.4.80.0110.00619.39
7.4.70.0090.01116.52
7.4.60.0040.01316.41
7.4.50.0070.00716.64
7.4.40.0140.00316.36
7.4.30.0080.01516.80
7.4.00.0060.00915.06
7.3.330.0050.00013.30
7.3.320.0040.00413.13
7.3.310.0000.00716.45
7.3.300.0000.00716.33
7.3.290.0100.00616.41
7.3.280.0070.00916.38
7.3.270.0100.00617.40
7.3.260.0140.00616.40
7.3.250.0080.00916.41
7.3.240.0100.00816.45
7.3.230.0050.02116.43
7.3.210.0130.00316.34
7.3.200.0160.00016.39
7.3.190.0100.00716.55
7.3.180.0110.00716.54
7.3.170.0090.01516.60
7.3.160.0160.00016.49
7.3.120.0070.00714.97
7.3.110.0100.00614.97
7.3.100.0070.00714.96
7.3.90.0000.00914.76
7.3.80.0050.00314.86
7.3.70.0070.01015.03
7.3.60.0090.00314.91
7.3.50.0090.00014.80
7.3.40.0000.01714.87
7.3.30.0060.00614.61
7.3.20.0070.00716.78
7.3.10.0000.01116.58
7.3.00.0000.00916.88
7.2.330.0100.00716.76
7.2.320.0030.01616.81
7.2.310.0130.00716.79
7.2.300.0080.00816.79
7.2.290.0090.00616.70
7.2.240.0100.00714.60
7.2.230.0120.00315.07
7.2.220.0100.00714.95
7.2.210.0100.00615.16
7.2.200.0090.00615.15
7.2.190.0100.00615.16
7.2.180.0070.00715.24
7.2.170.0070.00714.95
7.2.160.0090.00615.11
7.2.150.0070.01016.94
7.2.140.0000.01316.94
7.2.130.0040.01116.97
7.2.120.0030.01016.93
7.2.110.0040.01116.89
7.2.100.0070.00716.89
7.2.90.0040.01117.04
7.2.80.0070.00717.00
7.2.70.0120.00316.84
7.2.60.0080.00816.71
7.2.50.0030.00716.61
7.2.40.0100.00316.99
7.2.30.0060.00617.15
7.2.20.0090.00316.95
7.2.10.0060.00616.89
7.2.00.0030.01018.13
7.1.330.0070.00716.01
7.1.320.0000.00915.79
7.1.310.0040.00415.71
7.1.300.0000.01115.76
7.1.290.0070.00015.73
7.1.280.0080.00415.85
7.1.270.0070.00715.67
7.1.260.0030.01015.81
7.1.250.0000.01615.61
7.1.200.0090.00015.82
7.1.100.0090.00618.20
7.1.70.0030.01317.01
7.1.60.0160.01035.20
7.1.50.0100.01634.76
7.1.40.0200.00834.16
7.1.30.0190.00634.46
7.1.20.0100.01434.48
7.1.10.0000.01416.52
7.1.00.0080.00416.83
7.0.200.0060.00616.76
7.0.190.0050.00816.80
7.0.180.0040.00816.06
7.0.170.0040.00716.36
7.0.160.0060.00616.24
7.0.150.0000.01216.18
7.0.140.0090.00316.39
7.0.130.0040.00716.37
7.0.120.0030.00916.43
7.0.110.0000.01116.50
7.0.100.0050.00516.36
7.0.90.0040.00816.39
7.0.80.0030.00816.29
7.0.70.0080.00416.48
7.0.60.0080.00416.29
7.0.50.0030.00916.26
7.0.40.0050.00816.37
7.0.30.0060.00616.39
7.0.20.0080.00316.33
7.0.10.0080.00316.34
7.0.00.0030.00816.45

preferences:
47.97 ms | 401 KiB | 5 Q