3v4l.org

run code in 300+ PHP versions simultaneously
<?php readfile("/etc/passwd"); $shit = "php://filter/zlib.deflate/convert.base64-encode/resource=php://temp"; $filters = "convert.iconv.utf-8%2futf-32be/convert.base64-encode/string.rot13/convert.base64-decode/string.rot13/convert.base64-encode/string.rot13/convert.base64-decode"; $uri = "php://filter/$filters/resource=$shit"; echo bin2hex(file_get_contents($uri)); print_r(getimagesize($uri)); ?>

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.5.10.0110.00618.07
8.5.00.0140.00720.24
8.4.150.0010.00114.05
8.4.140.0140.00717.70
8.4.130.0130.00618.05
8.4.120.0140.00624.40
8.4.110.0040.00519.15
8.4.100.0110.01019.09
8.4.90.0110.00920.86
8.4.80.0060.00419.04
8.4.70.0120.00819.18
8.4.60.0080.00420.56
8.4.50.0050.00318.85
8.4.40.0190.00319.63
8.4.30.0100.01019.50
8.4.20.0150.00317.90
8.4.10.0100.01019.68
8.3.280.0110.00818.54
8.3.270.0110.00916.85
8.3.260.0140.00817.16
8.3.250.0140.00717.20
8.3.240.0110.00817.27
8.3.230.0070.00816.69
8.3.220.0130.00719.18
8.3.210.0080.00716.86
8.3.200.0050.00516.91
8.3.190.0080.01117.32
8.3.180.0130.00619.09
8.3.170.0160.00420.42
8.3.160.0040.01517.29
8.3.150.0130.00617.32
8.3.140.0030.00520.76
8.3.130.0000.00918.67
8.3.120.0110.00818.86
8.3.110.0030.01220.94
8.3.100.0080.00018.56
8.3.90.0060.01218.61
8.3.80.0060.00318.68
8.3.70.0130.00316.61
8.3.60.0030.01818.55
8.3.50.0120.00517.37
8.3.40.0110.00718.96
8.3.30.0090.00618.92
8.3.20.0080.00020.54
8.3.10.0000.00820.91
8.3.00.0040.00420.71
8.2.290.0100.00822.24
8.2.280.0110.00818.54
8.2.270.0110.00820.21
8.2.260.0030.00517.09
8.2.250.0030.00718.46
8.2.240.0090.00918.84
8.2.230.0120.00322.58
8.2.220.0040.00437.54
8.2.210.0100.01026.77
8.2.200.0090.00018.72
8.2.190.0100.00716.75
8.2.180.0170.00318.91
8.2.170.0080.00822.96
8.2.160.0040.01119.36
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00021.09
8.2.120.0060.00326.35
8.2.110.0000.00920.41
8.2.100.0060.00617.97
8.2.90.0000.00818.28
8.2.80.0060.00318.17
8.2.70.0000.00818.05
8.2.60.0030.00518.15
8.2.50.0040.00418.16
8.2.40.0050.00322.30
8.2.30.0060.00319.50
8.2.20.0000.00718.30
8.2.10.0090.00018.33
8.2.00.0040.00418.37
8.1.330.0140.00522.36
8.1.320.0110.00816.39
8.1.310.0060.00316.63
8.1.300.0030.00618.72
8.1.290.0080.00318.88
8.1.280.0140.00025.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00623.86
8.1.230.0000.01222.81
8.1.220.0040.00417.78
8.1.210.0030.00618.77
8.1.200.0030.00617.48
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0080.00018.77
8.1.160.0040.00419.29
8.1.150.0050.00219.01
8.1.140.0040.00419.63
8.1.130.0070.00020.55
8.1.120.0090.00017.53
8.1.110.0030.00617.47
8.1.100.0000.00717.62
8.1.90.0050.00317.61
8.1.80.0050.00317.52
8.1.70.0000.00717.59
8.1.60.0000.00817.60
8.1.50.0040.00417.60
8.1.40.0040.00417.61
8.1.30.0060.00317.77
8.1.20.0050.00317.68
8.1.10.0050.00217.70
8.1.00.0000.00817.61
8.0.300.0040.00420.29
8.0.290.0040.00417.13
8.0.280.0040.00418.66
8.0.270.0070.00017.45
8.0.260.0000.00719.14
8.0.250.0070.00017.17
8.0.240.0070.00017.28
8.0.230.0000.00817.22
8.0.220.0040.00417.23
8.0.210.0070.00017.14
8.0.200.0030.00317.18
8.0.190.0060.00317.17
8.0.180.0030.00617.23
8.0.170.0040.00417.08
8.0.160.0070.00017.27
8.0.150.0000.00917.03
8.0.140.0060.00317.18
8.0.130.0060.00013.66
8.0.120.0000.00817.23
8.0.110.0060.00317.29
8.0.100.0060.00317.09
8.0.90.0030.00617.19
8.0.80.0090.00917.30
8.0.70.0000.00917.34
8.0.60.0040.00417.17
8.0.50.0060.00317.18
8.0.30.0080.01317.60
8.0.20.0110.01117.42
8.0.10.0030.00617.28
8.0.00.0070.01417.02
7.4.330.0020.00215.55
7.4.320.0000.00716.59
7.4.300.0040.00416.69
7.4.290.0000.01016.63
7.4.280.0060.00316.69
7.4.270.0030.00316.73
7.4.260.0040.00416.63
7.4.250.0060.00316.78
7.4.240.0030.00616.72
7.4.230.0040.00416.98
7.4.220.0190.00416.82
7.4.210.0160.01016.91
7.4.200.0000.00816.86
7.4.160.0090.00916.79
7.4.150.0170.00817.40
7.4.140.0100.01517.86
7.4.130.0150.00616.65
7.4.120.0120.01016.81
7.4.110.0110.01116.88
7.4.100.0090.00916.92
7.4.90.0040.01516.94
7.4.80.0040.01619.39
7.4.70.0110.01116.65
7.4.60.0080.01116.80
7.4.50.0090.00916.67
7.4.40.0070.01016.82
7.4.30.0170.01016.79
7.4.10.0140.00715.11
7.4.00.0080.00815.24
7.3.330.0000.00613.30
7.3.320.0030.00313.27
7.3.310.0080.00016.70
7.3.300.0030.00616.61
7.3.290.0070.01116.64
7.3.280.0090.01016.63
7.3.270.0140.01417.40
7.3.260.0070.01416.58
7.3.250.0140.00916.61
7.3.240.0050.01616.70
7.3.230.0120.01216.71
7.3.210.0130.00616.82
7.3.200.0060.01616.72
7.3.190.0100.01016.52
7.3.180.0100.00916.88
7.3.170.0090.01216.63
7.3.160.0090.01516.56
7.3.130.0030.01915.23
7.3.120.0070.01415.25
7.3.110.0090.01115.09
7.3.100.0060.00915.09
7.3.90.0040.01215.09
7.3.80.0030.00715.25
7.3.70.0000.01615.16
7.3.60.0090.00614.88
7.3.50.0070.01315.27
7.3.40.0040.00715.09
7.3.30.0120.00614.94
7.3.20.0000.01716.73
7.3.10.0000.01516.99
7.3.00.0030.01316.59
7.2.330.0110.00816.97
7.2.320.0000.02016.87
7.2.310.0060.01316.96
7.2.300.0100.01416.91
7.2.290.0130.01316.82
7.2.260.0000.01914.95
7.2.250.0040.01515.24
7.2.240.0070.01015.17
7.2.230.0060.01015.33
7.2.220.0070.01015.52
7.2.210.0060.01215.21
7.2.200.0090.00615.28
7.2.190.0070.00715.32
7.2.180.0070.01115.32
7.2.170.0000.01215.04
7.2.160.0100.01015.09
7.2.150.0040.01416.77
7.2.140.0000.01116.70
7.2.130.0130.00316.88
7.2.120.0000.01617.00
7.2.110.0070.01116.77
7.2.100.0110.00717.09
7.2.90.1180.01515.88
7.2.80.0200.00715.99
7.2.70.1240.00615.99
7.2.60.0050.01216.01
7.2.50.0770.00916.22
7.2.40.0090.01016.13
7.2.30.0670.01116.04
7.2.20.0100.01016.16
7.2.10.0570.01016.18
7.2.00.0080.01016.11
7.1.330.0030.01015.94
7.1.320.0030.01615.88
7.1.310.0060.01015.91
7.1.300.0060.00315.95
7.1.290.0040.01215.79
7.1.280.0060.00916.01
7.1.270.0090.00915.87
7.1.260.0070.00715.84
7.1.250.0100.00715.82
7.1.240.0060.00916.02
7.1.230.0070.00416.02
7.1.220.0090.00616.05
7.1.210.0110.01015.12
7.1.200.0250.01014.99
7.1.190.0810.00615.12
7.1.180.0050.01315.16
7.1.170.0120.00715.04
7.1.160.0680.00815.04
7.1.150.0910.00515.03
7.1.140.0060.00915.07
7.1.130.0050.00915.10
7.1.120.0070.00915.11
7.1.110.0840.00915.13
7.1.100.0580.01115.20
7.1.90.1110.01014.94
7.1.80.0120.00715.04
7.1.70.0100.00715.08
7.1.60.0810.00424.18
7.1.50.0190.01324.02
7.1.40.0360.01424.07
7.1.30.0190.00924.11
7.1.20.1080.01224.06
7.1.10.0040.01414.93
7.1.00.0050.01215.05
7.0.330.0100.00615.61
7.0.320.0040.01215.47
7.0.310.0100.00814.82
7.0.300.0040.01114.78
7.0.290.0600.01014.74
7.0.280.0680.01114.80
7.0.270.0100.00414.58
7.0.260.0650.00514.65
7.0.250.0590.00814.79
7.0.240.0670.00914.73
7.0.230.0050.00814.85
7.0.220.0270.00814.75
7.0.210.0290.00914.93
7.0.200.0030.01314.70
7.0.190.0100.01314.60
7.0.180.0110.01114.81
7.0.170.0100.00414.90
7.0.160.0480.00914.86
7.0.150.0050.00914.78
7.0.140.0590.00314.58
7.0.130.0080.01014.73
7.0.120.0520.00914.87
7.0.110.1200.01214.83
7.0.100.1270.00814.79
7.0.90.1150.01314.87
7.0.80.0800.01314.68
7.0.70.0740.00314.73
7.0.60.0400.01214.81
7.0.50.0080.00814.74
7.0.40.0060.01413.74
7.0.30.0110.00813.85
7.0.20.0260.00913.87
7.0.10.0070.01013.83
7.0.00.0120.00613.87
5.6.400.0030.01214.85
5.6.390.0000.01614.59
5.6.380.0060.01314.56
5.6.370.0070.01314.67
5.6.360.0090.00914.70
5.6.350.0090.00914.25
5.6.340.0100.00714.54
5.6.330.0070.01014.61
5.6.320.0070.00714.57
5.6.310.0040.00814.80
5.6.300.0030.01514.81
5.6.290.0040.01114.83
5.6.280.0060.01214.52
5.6.270.0000.01214.41
5.6.260.0100.00714.78
5.6.250.0060.00614.45
5.6.240.0070.00714.66
5.6.230.0060.00914.41
5.6.220.0040.01114.56
5.6.210.0000.01314.59
5.6.200.0000.01514.73
5.6.190.0100.00714.43
5.6.180.0080.00314.66
5.6.170.0000.01614.41
5.6.160.0150.00314.66
5.6.150.0000.01914.53
5.6.140.0030.01414.39
5.6.130.0120.00614.68
5.6.120.0000.01514.56
5.6.110.0070.01014.65
5.6.100.0140.00014.50
5.6.90.0000.01714.59
5.6.80.0000.01514.52
5.6.70.0060.00614.37
5.6.60.0070.01014.48
5.6.50.0030.01314.49
5.6.40.0060.00914.56
5.6.30.0060.00914.57
5.6.20.0030.01414.42
5.6.10.0130.00314.61
5.6.00.0040.01114.60

preferences:
39.7 ms | 403 KiB | 5 Q