3v4l.org

run code in 300+ PHP versions simultaneously
<?php // echo base64_decode("ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSQg1/REUKaAw=") ^ '{"showpassword":"no","bgcolor":"#ffffff"}'; //echo json_encode(array('a'=>'b','c'=>'d')); $key = "qw8J"; $text = '{"showpassword":"yes","bgcolor":"#ffffff"}'; $outText = ''; // Iterate through each character 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.0180.00416.50
8.3.50.0210.00716.35
8.3.40.0110.01118.80
8.3.30.0120.00318.83
8.3.20.0150.00318.67
8.3.10.0080.00020.53
8.3.00.0090.00019.25
8.2.180.0060.01216.75
8.2.170.0000.01522.96
8.2.160.0040.01121.00
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00719.72
8.2.110.0100.00021.10
8.2.100.0090.00317.97
8.2.90.0100.00019.17
8.2.80.0000.00817.93
8.2.70.0080.00017.63
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0050.00318.22
8.2.30.0000.00718.14
8.2.20.0000.00717.72
8.2.10.0040.00417.62
8.2.00.0030.00617.79
8.1.280.0070.00725.92
8.1.270.0030.00624.66
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00320.88
8.1.230.0090.00420.96
8.1.220.0030.00617.74
8.1.210.0040.00418.95
8.1.200.0090.00017.35
8.1.190.0050.00317.53
8.1.180.0060.00318.10
8.1.170.0000.00818.74
8.1.160.0040.00418.80
8.1.150.0070.00018.71
8.1.140.0040.00417.44
8.1.130.0030.00317.85
8.1.120.0050.00217.39
8.1.110.0050.00217.29
8.1.100.0050.00217.39
8.1.90.0000.00717.39
8.1.80.0000.00717.31
8.1.70.0000.00717.32
8.1.60.0050.00317.52
8.1.50.0000.00717.48
8.1.40.0040.00417.48
8.1.30.0000.00717.58
8.1.20.0130.00017.60
8.1.10.0000.00817.54
8.1.00.0000.00717.40
8.0.300.0040.00420.07
8.0.290.0040.00416.63
8.0.280.0070.00018.45
8.0.270.0000.00717.21
8.0.260.0030.00316.84
8.0.250.0000.00716.84
8.0.240.0030.00616.95
8.0.230.0070.00016.95
8.0.220.0000.00816.95
8.0.210.0080.00016.83
8.0.200.0070.00016.79
8.0.190.0050.00317.00
8.0.180.0070.00016.92
8.0.170.0060.00316.92
8.0.160.0040.00416.78
8.0.150.0090.00016.86
8.0.140.0040.00416.90
8.0.130.0030.00313.32
8.0.120.0040.00416.85
8.0.110.0000.00816.93
8.0.100.0000.00816.90
8.0.90.0040.00416.77
8.0.80.0110.00816.96
8.0.70.0040.00416.93
8.0.60.0000.00816.81
8.0.50.0000.00716.96
8.0.30.0110.01217.04
8.0.20.0150.00817.09
8.0.10.0000.00717.12
8.0.00.0080.01316.78
7.4.330.0000.00512.95
7.4.320.0000.00616.46
7.4.300.0000.00616.54
7.4.290.0070.00016.41
7.4.280.0000.00816.38
7.4.270.0060.00016.49
7.4.260.0050.00013.25
7.4.250.0050.00316.45
7.4.240.0020.00516.36
7.4.230.0040.00416.34
7.4.220.0090.00916.50
7.4.210.0080.01016.52
7.4.200.0030.00316.34
7.4.190.0000.00716.39
7.4.160.0100.00616.51
7.4.150.0060.01216.39
7.4.140.0120.00516.62
7.4.130.0110.00616.46
7.4.120.0090.00816.53
7.4.110.0070.01016.32
7.4.100.0140.00316.55
7.4.90.0130.00316.46
7.4.80.0130.00716.62
7.4.70.0110.00616.28
7.4.60.0060.01316.61
7.4.50.0050.00016.23
7.4.40.0090.00616.26
7.4.30.0030.01316.41
7.4.10.0000.01715.11
7.4.00.0140.00415.12
7.3.330.0030.00313.26
7.3.320.0000.00613.23
7.3.310.0000.00716.41
7.3.300.0030.00316.36
7.3.290.0030.01116.39
7.3.280.0120.00716.34
7.3.270.0060.01216.35
7.3.260.0080.00916.45
7.3.250.0080.00816.41
7.3.240.0110.00816.40
7.3.230.0200.00016.55
7.3.210.0030.01416.50
7.3.200.0030.01319.39
7.3.190.0130.00316.41
7.3.180.0070.01416.54
7.3.170.0110.00616.61
7.3.160.0030.01316.59
7.3.130.0070.01015.11
7.3.120.0050.01214.75
7.3.110.0130.00615.08
7.3.100.0100.00314.75
7.3.90.0100.00714.51
7.3.80.0040.00714.94
7.3.70.0090.00614.54
7.3.60.0080.00314.62
7.3.50.0040.00814.71
7.3.40.0030.01414.73
7.3.30.0070.00714.85
7.3.20.0060.00316.56
7.3.10.0070.00716.75
7.3.00.0040.01116.63
7.2.330.0100.01316.64
7.2.320.0110.01116.57
7.2.310.0110.01416.64
7.2.300.0080.00816.71
7.2.290.0100.00716.76
7.2.260.0040.01415.09
7.2.250.0070.01115.04
7.2.240.0100.00715.09
7.2.230.0100.00315.35
7.2.220.0090.00915.17
7.2.210.0060.00615.09
7.2.200.0040.01115.18
7.2.190.0000.00914.74
7.2.180.0080.00315.04
7.2.170.0070.01014.88
7.2.160.0000.00915.18
7.2.150.0050.00516.87
7.2.140.0000.01517.15
7.2.130.0030.01016.93
7.2.120.0000.01417.01
7.2.110.0030.01317.02
7.2.100.0000.01316.93
7.2.90.0030.00816.71
7.2.80.0080.00616.90
7.2.70.0070.01016.90
7.2.60.0070.00716.68
7.2.50.0030.00616.91
7.2.40.0090.00617.10
7.2.30.0040.00816.78
7.2.20.0120.00416.71
7.2.10.0040.00716.79
7.2.00.0070.00518.04
7.1.330.0060.00915.78
7.1.320.0110.00615.94
7.1.310.0030.01016.02
7.1.300.0030.00715.64
7.1.290.0000.01215.51
7.1.280.0070.00315.52
7.1.270.0040.00415.73
7.1.260.0080.00815.79
7.1.250.0060.00315.84
7.1.240.0000.01115.61
7.1.230.0040.00815.90
7.1.220.0030.01215.65
7.1.210.0080.00415.80
7.1.200.0030.01015.84
7.1.190.0030.00915.86
7.1.180.0100.00315.46
7.1.170.0030.00615.82
7.1.160.0060.00615.82
7.1.150.0000.01115.97
7.1.140.0000.01515.57
7.1.130.0090.00015.86
7.1.120.0130.00015.92
7.1.110.0030.01015.96
7.1.100.0110.00315.80
7.1.90.0030.01415.94
7.1.80.0090.00315.95
7.1.70.0030.00916.54
7.1.60.0050.01417.71
7.1.50.0050.01116.38
7.1.40.0000.01215.86
7.1.30.0030.00715.83
7.1.20.0040.00815.69
7.1.10.0000.01415.84
7.1.00.0050.03719.13
7.0.330.0000.01115.47
7.0.320.0060.00615.48
7.0.310.0030.01315.36
7.0.300.0090.00315.25
7.0.290.0030.01115.44
7.0.280.0070.00715.23
7.0.270.0030.01015.30
7.0.260.0060.00615.60
7.0.250.0090.00615.45
7.0.240.0140.00315.52
7.0.230.0080.00815.44
7.0.220.0040.01215.61
7.0.210.0030.01015.46
7.0.200.0040.00915.97
7.0.190.0090.00915.57
7.0.180.0030.00715.15
7.0.170.0040.00715.44
7.0.160.0040.00815.57
7.0.150.0070.00715.36
7.0.140.0040.04018.76
7.0.130.0060.00615.37
7.0.120.0100.01518.76
7.0.110.0030.00915.61
7.0.100.0060.01215.43
7.0.90.0060.00615.58
7.0.80.0080.00415.19
7.0.70.0000.01615.55
7.0.60.0090.04617.76
7.0.50.0000.04116.70
7.0.40.0070.04016.78
7.0.30.0160.03816.83
7.0.20.0170.03816.75
7.0.10.0150.03516.97
7.0.00.0030.04216.79
5.6.400.0060.01014.55
5.6.390.0030.00714.56
5.6.380.0000.01613.95
5.6.370.0000.01114.04
5.6.360.0060.00614.07
5.6.350.0030.01414.35
5.6.340.0070.00714.09
5.6.330.0070.00714.74
5.6.320.0060.00914.36
5.6.310.0040.01114.30
5.6.300.0000.01614.67
5.6.290.0040.00714.64
5.6.280.0040.03917.70
5.6.270.0120.00314.54
5.6.260.0070.00414.31
5.6.250.0070.00414.48
5.6.240.0070.00414.64
5.6.230.0070.00414.50
5.6.220.0060.01314.60
5.6.210.0150.03717.42
5.6.200.0070.04016.28
5.6.190.0050.04317.37
5.6.180.0150.02317.51
5.6.170.0200.04017.40
5.6.160.0100.02017.33
5.6.150.0030.04616.42
5.6.140.0050.02316.44
5.6.130.0030.03316.29
5.6.120.0100.04017.83
5.6.110.0130.03617.61
5.6.100.0100.04217.69
5.6.90.0090.04617.74
5.6.80.0100.03717.41
5.6.70.2340.01817.42
5.6.60.0060.00614.19
5.6.50.0040.01114.22
5.6.40.0060.00914.34
5.6.30.0030.00614.34
5.6.20.0030.00714.48
5.6.10.0070.00714.52
5.6.00.0070.00314.64
5.5.380.0030.01014.43
5.5.370.0060.00614.33
5.5.360.0110.00414.62
5.5.350.0150.02417.30
5.5.340.0050.04316.24
5.5.330.0050.03517.22
5.5.320.0180.04017.48
5.5.310.0170.01617.30
5.5.300.0090.01916.14
5.5.290.0070.03316.16
5.5.280.0000.04617.55
5.5.270.0070.02017.68
5.5.260.0050.04417.54
5.5.250.0130.04317.39
5.5.240.0090.03017.33
5.5.230.0000.01314.35
5.5.220.0030.00914.39
5.5.210.0030.01014.46
5.5.200.0040.00414.22
5.5.190.0040.00814.21
5.5.180.0130.00314.25
5.5.170.0110.00414.06
5.5.160.0040.00713.97
5.5.150.0030.01214.25
5.5.140.0060.00614.47
5.5.130.0000.01514.08
5.5.120.0110.00314.04
5.5.110.0100.00614.45
5.5.100.0040.00714.43
5.5.90.0030.01014.35
5.5.80.0060.00913.88
5.5.70.0030.00914.36
5.5.60.0070.01014.13
5.5.50.0070.00713.96
5.5.40.0070.00714.29
5.5.30.0120.00614.34
5.5.20.0030.01014.13
5.5.10.0030.00614.28
5.5.00.0030.00914.28
5.4.450.0050.02315.12
5.4.440.0040.02315.34
5.4.430.0060.02114.91
5.4.420.0050.02315.17
5.4.410.0030.02315.08
5.4.400.0030.02615.06
5.4.390.0090.02614.83
5.4.380.0050.04215.02
5.4.370.0050.04315.03
5.4.360.0080.03814.96
5.4.350.0030.04415.09
5.4.340.0020.04414.88
5.4.330.0030.01011.05
5.4.320.0060.04214.97
5.4.310.0040.03015.02
5.4.300.0050.03814.94
5.4.290.0060.03914.97
5.4.280.0100.04515.01
5.4.270.0050.03715.06
5.4.260.0040.02414.86
5.4.250.0020.03215.06
5.4.240.0060.02114.92
5.4.230.0050.02415.00
5.4.220.0080.03414.94
5.4.210.0070.02515.08
5.4.200.0080.04014.99
5.4.190.0050.04315.04
5.4.180.0000.03214.94
5.4.170.0060.03914.98
5.4.160.0080.04215.08
5.4.150.0100.03314.77
5.4.140.0080.04013.67
5.4.130.0020.04413.66
5.4.120.0030.04313.64
5.4.110.0060.02313.48
5.4.100.0020.02513.72
5.4.90.0030.04213.63
5.4.80.0030.02213.67
5.4.70.0070.03513.71
5.4.60.0060.02313.58
5.4.50.0060.02013.80
5.4.40.0050.02513.55
5.4.30.0080.02413.50
5.4.20.0100.02813.65
5.4.10.0020.02513.77
5.4.00.0060.03813.45
5.3.290.0020.02212.63
5.3.280.0070.04012.51
5.3.270.0070.03512.59
5.3.260.0060.03312.55
5.3.250.0110.03512.54
5.3.240.0040.04112.47
5.3.230.0060.03012.52
5.3.220.0020.04312.45
5.3.210.0080.03312.45
5.3.200.0020.03012.45
5.3.190.0050.04412.50
5.3.180.0030.02112.51
5.3.170.0100.03512.53
5.3.160.0080.02312.54
5.3.150.0050.02112.52
5.3.140.0100.03312.51
5.3.130.0070.03712.51
5.3.120.0050.03712.51
5.3.110.0030.02112.54
5.3.100.0050.03712.27
5.3.90.0050.03312.25
5.3.80.0020.04412.19
5.3.70.0040.02712.33
5.3.60.0050.03912.26
5.3.50.0080.03812.23
5.3.40.0040.03512.25
5.3.30.0050.02612.19
5.3.20.0030.03812.10
5.3.10.0050.01912.08
5.3.00.0030.04112.01
5.2.170.0070.05311.15
5.2.160.0030.04011.13
5.2.150.0100.04311.13
5.2.140.0030.07011.12
5.2.130.0070.03711.09
5.2.120.0070.04010.99
5.2.110.0070.04711.03
5.2.100.0030.05311.18
5.2.90.0030.04711.09
5.2.80.0070.05011.08
5.2.70.0030.05711.06
5.2.60.0030.06310.98
5.2.50.0030.06310.84
5.2.40.0030.03010.92
5.2.30.0070.02710.87
5.2.20.0100.05310.89
5.2.10.0030.04010.95
5.2.00.0100.02710.71
5.1.60.0000.0279.83
5.1.50.0070.05010.07
5.1.40.0030.0409.95
5.1.30.0000.03310.32
5.1.20.0000.03010.34
5.1.10.0030.02310.05
5.1.00.0030.05010.04
5.0.50.0000.0309.73
5.0.40.0070.0409.73
5.0.30.0030.0639.73
5.0.20.0070.0439.73
5.0.10.0000.0379.73
5.0.00.0000.0379.73
4.4.90.0030.0339.73
4.4.80.0030.0279.73
4.4.70.0000.0379.73
4.4.60.0070.0279.73
4.4.50.0030.0279.73
4.4.40.0070.0279.73
4.4.30.0000.0379.73
4.4.20.0000.0179.73
4.4.10.0030.0379.73
4.4.00.0070.0209.73
4.3.110.0000.0409.73
4.3.100.0000.0209.73
4.3.90.0000.0379.73
4.3.80.0030.0479.73
4.3.70.0030.0379.73
4.3.60.0030.0239.73
4.3.50.0030.0209.73
4.3.40.0000.0339.73
4.3.30.0000.0179.73
4.3.20.0000.0379.73
4.3.10.0030.0139.73
4.3.00.0000.0379.73

preferences:
42.31 ms | 401 KiB | 5 Q