3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'This is a test'; $key = 'magic_key'; // print, and make unprintable chars available for a link or alike. // using $_GET, php will urldecode it, if it was passed urlencoded print "obfuscated, ready for url: " . urlencode(obfuscate($msg, $key)) . "\n"; print "deObfuscated: " . obfuscate(obfuscate($msg, $key), $key); function obfuscate($msg, $key) { if (empty($key)) return $msg; return $msg ^ str_pad('', strlen($msg), $key); } ?>

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.0070.00718.30
8.3.50.0180.00921.04
8.3.40.0110.00418.86
8.3.30.0060.00918.89
8.3.20.0090.00020.16
8.3.10.0080.00023.55
8.3.00.0060.00319.13
8.2.180.0100.01016.88
8.2.170.0040.01122.96
8.2.160.0130.00020.52
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.23
8.2.110.0030.00622.23
8.2.100.0080.00417.63
8.2.90.0000.00719.26
8.2.80.0050.00317.97
8.2.70.0040.00417.48
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0040.00419.82
8.2.30.0040.00418.05
8.2.20.0040.00417.59
8.2.10.0030.00517.97
8.2.00.0000.00717.79
8.1.280.0090.00925.92
8.1.270.0040.00422.02
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00423.88
8.1.230.0040.00817.42
8.1.220.0000.00817.74
8.1.210.0030.00718.77
8.1.200.0000.00917.35
8.1.190.0000.00917.25
8.1.180.0050.00318.10
8.1.170.0030.00518.64
8.1.160.0030.00522.01
8.1.150.0040.00418.94
8.1.140.0000.00817.44
8.1.130.0030.00317.82
8.1.120.0000.00717.36
8.1.110.0050.00217.45
8.1.100.0030.00517.40
8.1.90.0030.00317.49
8.1.80.0000.00717.41
8.1.70.0070.00017.33
8.1.60.0040.00417.46
8.1.50.0060.00317.57
8.1.40.0040.00417.37
8.1.30.0030.00517.61
8.1.20.0000.00717.66
8.1.10.0030.00517.48
8.1.00.0000.00717.46
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.50
8.0.270.0000.00717.19
8.0.260.0000.00617.25
8.0.250.0030.00316.88
8.0.240.0070.00016.83
8.0.230.0000.00716.97
8.0.220.0040.00416.91
8.0.210.0000.00716.89
8.0.200.0050.00216.95
8.0.190.0040.00416.92
8.0.180.0040.00416.87
8.0.170.0020.00516.89
8.0.160.0000.01016.87
8.0.150.0050.00216.85
8.0.140.0000.00816.86
8.0.130.0000.00513.32
8.0.120.0000.00816.86
8.0.110.0040.00416.89
8.0.100.0040.00416.89
8.0.90.0050.00216.77
8.0.80.0030.01816.89
8.0.70.0080.00016.96
8.0.60.0040.00416.89
8.0.50.0000.00716.70
8.0.30.0120.01116.82
8.0.20.0100.00817.40
8.0.10.0070.00016.95
8.0.00.0080.01216.72
7.4.330.0000.00515.00
7.4.320.0070.00016.43
7.4.300.0030.00316.50
7.4.290.0080.00016.41
7.4.280.0000.00716.43
7.4.270.0070.00016.56
7.4.260.0030.00316.63
7.4.250.0030.00416.47
7.4.240.0060.00116.50
7.4.230.0070.00016.30
7.4.220.0100.01016.56
7.4.210.0080.00516.65
7.4.200.0050.00216.61
7.4.160.0130.00716.37
7.4.150.0080.00817.40
7.4.140.0080.01017.86
7.4.130.0120.00716.50
7.4.120.0050.01216.49
7.4.110.0080.00816.53
7.4.100.0100.00716.43
7.4.90.0080.01116.51
7.4.80.0150.01219.39
7.4.70.0170.00316.36
7.4.60.0060.01216.41
7.4.50.0000.00816.41
7.4.40.0060.00916.68
7.4.30.0080.00816.50
7.4.00.0060.01214.71
7.3.330.0050.00013.23
7.3.320.0020.00213.31
7.3.310.0030.00316.32
7.3.300.0030.00316.38
7.3.290.0060.01216.39
7.3.280.0090.00916.35
7.3.270.0060.01217.40
7.3.260.0070.01116.58
7.3.250.0130.00816.56
7.3.240.0180.00316.39
7.3.230.0140.00916.62
7.3.210.0030.01316.35
7.3.200.0070.01119.39
7.3.190.0070.01416.40
7.3.180.0120.00916.65
7.3.170.0110.00716.66
7.3.160.0040.01416.38
7.3.120.0030.01714.84
7.3.110.0070.01015.00
7.3.100.0090.00615.05
7.3.90.0070.00415.06
7.3.80.0040.01514.64
7.3.70.0070.01014.66
7.3.60.0060.00314.77
7.3.50.0100.00714.85
7.3.40.0070.01014.61
7.3.30.0030.00614.77
7.3.20.0100.00716.61
7.3.10.0080.00516.46
7.3.00.0050.00916.66
7.2.330.0090.00916.86
7.2.320.0150.00316.86
7.2.310.0100.01016.84
7.2.300.0100.01016.48
7.2.290.0070.01016.70
7.2.250.0100.01015.29
7.2.240.0060.01215.32
7.2.230.0030.01215.36
7.2.220.0090.00614.98
7.2.210.0120.00615.02
7.2.200.0070.01014.94
7.2.190.0030.00714.77
7.2.180.0000.01415.23
7.2.170.0110.00415.09
7.2.130.0030.00916.93
7.2.120.0030.00616.78
7.2.110.0030.00517.02
7.2.100.0060.00616.87
7.2.90.0070.00717.11
7.2.80.0090.01216.95
7.2.70.0030.01416.82
7.2.60.0080.01116.76
7.2.50.0090.00316.81
7.2.40.0060.00317.18
7.2.30.0090.00016.98
7.2.20.0100.00716.93
7.2.10.0070.01017.08
7.2.00.0090.00616.73
7.1.330.0040.01115.72
7.1.320.0080.00015.78
7.1.310.0030.01415.69
7.1.300.0030.01015.94
7.1.290.0030.01315.46
7.1.280.0000.01015.79
7.1.270.0040.01215.78
7.1.260.0060.00615.52
7.1.250.0040.00715.82
7.1.100.0060.00618.14
7.1.70.0030.00517.13
7.1.60.0100.01619.32
7.1.50.0030.01716.72
7.1.00.0100.07022.46
7.0.200.0000.00916.78
7.0.140.0000.07722.09
7.0.60.0000.05719.83
7.0.50.0070.06017.91
7.0.40.0070.05320.40
7.0.30.0300.07720.25
7.0.20.0200.08320.15
7.0.10.0170.06720.30
7.0.00.0070.04020.16
5.6.280.0030.07321.07
5.6.210.0070.08320.51
5.6.200.0100.06718.23
5.6.190.0200.07020.55
5.6.180.0330.03320.39
5.6.170.0200.04720.51
5.6.160.0100.07720.55
5.6.150.0030.06318.28
5.6.140.0100.06718.15
5.6.130.0100.08318.27
5.6.120.0000.04320.94
5.6.110.0230.06721.14
5.6.100.0200.06321.01
5.6.90.0100.03721.11
5.6.80.0130.07020.55
5.5.350.0230.07320.53
5.5.340.0100.07718.03
5.5.330.0030.05720.27
5.5.320.0300.04720.31
5.5.310.0270.07320.19
5.5.300.0070.08018.07
5.5.290.0100.07717.96
5.5.280.0130.06320.76
5.5.270.0030.06720.83
5.5.260.0100.08320.80
5.5.250.0000.04320.65
5.5.240.0330.05720.27
5.4.450.0370.05319.41
5.4.440.0770.06019.56
5.4.430.0770.05719.41
5.4.420.0630.00019.52
5.4.410.0670.00019.25
5.4.400.0600.00019.17
5.4.390.0630.00019.16
5.4.380.0730.00019.06
5.4.370.0600.00019.08
5.4.360.0670.00019.09
5.4.350.0670.00019.11
5.4.340.0040.03912.02
5.4.320.0050.04412.50
5.4.310.0060.04612.50
5.4.300.0080.03512.51
5.4.290.0040.04012.50
5.4.280.0040.03612.40
5.4.270.0100.03812.40
5.4.260.0060.04012.40
5.4.250.0060.03912.39
5.4.240.0090.04712.40
5.4.230.0050.04712.39
5.4.220.0060.04212.39
5.4.210.0040.03612.39
5.4.200.0040.03912.39
5.4.190.0060.03612.39
5.4.180.0080.03312.39
5.4.170.0070.03412.39
5.4.160.0060.04412.39
5.4.150.0060.03712.38
5.4.140.0060.03612.07
5.4.130.0060.03512.06
5.4.120.0050.03812.02
5.4.110.0040.03912.02
5.4.100.0030.04512.02
5.4.90.0070.04312.01
5.4.80.0070.04512.01
5.4.70.0030.04012.01
5.4.60.0050.03712.00
5.4.50.0060.03512.01
5.4.40.0070.03312.00
5.4.30.0080.03411.99
5.4.20.0080.03212.00
5.4.10.0100.02911.99
5.4.00.0070.03411.48
5.3.290.0110.03712.80
5.3.280.0040.04612.71
5.3.270.0080.03812.72
5.3.260.0030.04012.72
5.3.250.0040.04912.72
5.3.240.0060.03812.72
5.3.230.0060.03812.71
5.3.220.0050.03712.68
5.3.210.0070.03712.68
5.3.200.0070.03712.68
5.3.190.0080.03712.68
5.3.180.0060.03812.67
5.3.170.0040.04112.67
5.3.160.0040.04312.68
5.3.150.0090.04012.68
5.3.140.0080.03512.66
5.3.130.0090.03812.66
5.3.120.0110.04312.66
5.3.110.0060.04112.66
5.3.100.0050.04212.12
5.3.90.0050.04112.10
5.3.80.0050.04012.09
5.3.70.0070.03412.09
5.3.60.0070.03512.07
5.3.50.0070.03612.02
5.3.40.0060.03512.02
5.3.30.0050.03911.98
5.3.20.0060.03511.77
5.3.10.0060.03411.72
5.3.00.0040.03711.72
5.2.170.0040.0389.22
5.2.160.0070.0269.22
5.2.150.0050.0309.22
5.2.140.0030.0399.22
5.2.130.0070.0349.18
5.2.120.0030.0309.18
5.2.110.0050.0289.18
5.2.100.0050.0289.18
5.2.90.0070.0329.18
5.2.80.0070.0289.18
5.2.70.0060.0309.18
5.2.60.0030.0319.13
5.2.50.0080.0329.09
5.2.40.0040.0299.07
5.2.30.0080.0269.05
5.2.20.0000.0339.04
5.2.10.0040.0288.94
5.2.00.0050.0328.80
5.1.60.0050.0228.09
5.1.50.0060.0288.08
5.1.40.0050.0238.07
5.1.30.0000.0318.41
5.1.20.0050.0268.45
5.1.10.0030.0278.17
5.1.00.0040.0258.16
5.0.50.0060.0266.64
5.0.40.0040.0196.50
5.0.30.0040.0326.31
5.0.20.0030.0226.28
5.0.10.0040.0206.26
5.0.00.0010.0326.25
4.4.90.0020.0174.78
4.4.80.0010.0174.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0030.0184.77
4.4.40.0040.0244.71
4.4.30.0060.0184.76
4.4.20.0020.0184.85
4.4.10.0010.0174.85
4.4.00.0050.0264.76
4.3.110.0030.0154.66
4.3.100.0030.0174.66
4.3.90.0030.0194.63
4.3.80.0040.0234.59
4.3.70.0050.0144.63
4.3.60.0020.0184.63
4.3.50.0020.0184.63
4.3.40.0030.0264.54
4.3.30.0030.0193.30
4.3.20.0030.0213.28
4.3.10.0020.0153.24
4.3.00.0030.0207.19

preferences:
49.66 ms | 401 KiB | 5 Q