3v4l.org

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

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.0110.00718.43
8.3.50.0120.00916.30
8.3.40.0120.00618.60
8.3.30.0120.00318.79
8.3.20.0080.00020.25
8.3.10.0040.00423.46
8.3.00.0040.00419.69
8.2.180.0140.00418.43
8.2.170.0000.01422.96
8.2.160.0140.00018.84
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00319.24
8.2.120.0050.00326.35
8.2.110.0030.00620.38
8.2.100.0090.00317.84
8.2.90.0000.00819.26
8.2.80.0090.00018.16
8.2.70.0070.00317.63
8.2.60.0030.00618.16
8.2.50.0040.00418.10
8.2.40.0040.00420.59
8.2.30.0050.00319.29
8.2.20.0070.00018.18
8.2.10.0050.00318.03
8.2.00.0000.00818.03
8.1.280.0070.00725.92
8.1.270.0040.00421.85
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00020.88
8.1.230.0090.00319.17
8.1.220.0060.00317.79
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0050.00317.23
8.1.180.0000.00718.10
8.1.170.0000.00818.59
8.1.160.0000.00719.01
8.1.150.0000.00718.82
8.1.140.0000.00719.40
8.1.130.0030.00618.78
8.1.120.0000.00817.30
8.1.110.0000.00917.34
8.1.100.0040.00417.43
8.1.90.0030.00317.29
8.1.80.0000.00717.43
8.1.70.0030.00317.44
8.1.60.0000.00817.51
8.1.50.0040.00417.48
8.1.40.0000.00717.31
8.1.30.0040.00417.52
8.1.20.0040.00417.50
8.1.10.0000.00717.54
8.1.00.0030.00617.44
8.0.300.0090.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.50
8.0.270.0030.00317.27
8.0.260.0000.00618.32
8.0.250.0040.00416.96
8.0.240.0030.00616.96
8.0.230.0000.00716.86
8.0.220.0000.00716.87
8.0.210.0000.00716.83
8.0.200.0040.00416.98
8.0.190.0040.00416.94
8.0.180.0040.00416.94
8.0.170.0070.00016.92
8.0.160.0000.01116.99
8.0.150.0000.00716.74
8.0.140.0060.00316.85
8.0.130.0030.00313.29
8.0.120.0040.00416.88
8.0.110.0030.00316.85
8.0.100.0090.00016.93
8.0.90.0000.00716.96
8.0.80.0090.01516.89
8.0.70.0000.00716.69
8.0.60.0050.00217.00
8.0.50.0000.00817.00
8.0.30.0100.00917.07
8.0.20.0130.01417.41
8.0.10.0050.00216.90
8.0.00.0150.00416.60
7.4.330.0000.00615.55
7.4.320.0000.00616.57
7.4.300.0030.00316.45
7.4.290.0060.00316.57
7.4.280.0070.00016.33
7.4.270.0070.00016.54
7.4.260.0070.00016.54
7.4.250.0070.00016.50
7.4.240.0070.00016.35
7.4.230.0030.00316.44
7.4.220.0160.01016.40
7.4.210.0070.00716.41
7.4.200.0000.00716.54
7.4.160.0140.00316.55
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0090.00916.35
7.4.120.0160.00516.52
7.4.110.0080.00816.47
7.4.100.0110.00816.47
7.4.90.0090.00916.53
7.4.80.0100.00719.39
7.4.70.0090.01216.41
7.4.60.0080.00816.45
7.4.50.0090.00616.52
7.4.40.0120.01116.41
7.4.30.0060.01216.54
7.4.00.0030.01415.04
7.3.330.0050.00013.22
7.3.320.0040.00413.17
7.3.310.0040.00416.26
7.3.300.0030.00316.38
7.3.290.0070.00716.38
7.3.280.0070.01016.31
7.3.270.0060.01217.40
7.3.260.0130.00616.52
7.3.250.0080.01016.39
7.3.240.0140.00616.42
7.3.230.0100.00716.29
7.3.210.0080.00816.54
7.3.200.0090.00916.46
7.3.190.0070.00916.64
7.3.180.0040.01216.31
7.3.170.0110.01116.37
7.3.160.0130.00316.38
7.3.120.0050.01316.04
7.3.110.0040.01215.90
7.3.100.0070.00815.99
7.3.90.0080.00816.07
7.3.80.0030.00915.94
7.3.70.0080.00616.03
7.3.60.0090.00516.00
7.3.50.0040.00915.93
7.3.40.0000.01516.02
7.3.30.0030.00916.00
7.3.20.0070.00916.99
7.3.10.0090.00516.69
7.3.00.0080.00616.72
7.2.330.0030.01416.56
7.2.320.0100.00916.64
7.2.310.0100.00616.50
7.2.300.0060.01016.75
7.2.290.0070.01016.73
7.2.250.0040.01515.33
7.2.240.0020.01316.13
7.2.230.0030.01116.20
7.2.220.0040.01116.03
7.2.210.0090.00616.04
7.2.200.0040.00816.00
7.2.190.0120.00516.07
7.2.180.0050.01016.06
7.2.170.0050.00916.08
7.2.160.0000.01517.15
7.2.150.0100.00717.15
7.2.140.0040.01417.15
7.2.130.0070.00617.00
7.2.120.0060.01216.96
7.2.110.0050.00816.89
7.2.100.0090.00616.93
7.2.90.0100.00716.90
7.2.80.0070.00616.89
7.2.70.0120.00716.98
7.2.60.0110.00516.94
7.2.50.0080.00716.97
7.2.40.0090.00616.91
7.2.30.0110.00616.82
7.2.20.0090.00716.90
7.2.10.0070.00716.92
7.2.00.0130.00717.30
7.1.330.0110.00516.53
7.1.320.0080.00716.44
7.1.310.0080.00516.41
7.1.300.0030.00916.52
7.1.290.0020.01216.50
7.1.280.0030.01216.37
7.1.270.0040.00716.49
7.1.260.0020.01416.48
7.1.250.0070.00716.07
7.1.200.0030.01015.80
7.1.100.0030.00617.98
7.1.70.0060.00617.09
7.1.60.0180.00635.19
7.1.50.0150.00935.01
7.1.40.0180.00934.44
7.1.30.0100.01734.51
7.1.20.0210.00734.61
7.1.10.0070.00716.76
7.1.00.0060.00616.79
7.0.200.0000.01116.72
7.0.190.0030.01016.56
7.0.180.0060.00616.46
7.0.170.0080.00416.41
7.0.160.0030.00916.22
7.0.150.0040.00716.21
7.0.140.0000.01216.25
7.0.130.0030.00916.75
7.0.120.0050.00816.44
7.0.110.0030.01016.27
7.0.100.0090.00316.27
7.0.90.0030.00916.23
7.0.80.0070.00716.29
7.0.70.0000.01216.54
7.0.60.0030.00915.93
7.0.50.0000.01216.40
7.0.40.0030.00916.38
7.0.30.0040.00816.42
7.0.20.0000.01216.58
7.0.10.0000.01316.45
7.0.00.0090.00916.30

preferences:
35.51 ms | 401 KiB | 5 Q