3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = imagecreatefromjpeg('http://logicnet.dk/Analyzer/help/Lenna.jpg'); for($i=0;$i<64;$i+=8) { $msgchar = 5; if(($i+8) % $img.rowlength == 0) { $msg .= chr($msgchar); $msgchar = 0; } } echo $msg;

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.0170.00018.56
8.3.50.0100.00922.05
8.3.40.0190.00018.83
8.3.30.0120.00618.86
8.3.20.0060.00318.77
8.3.10.0030.00621.09
8.3.00.0040.00423.66
8.2.180.0040.01216.59
8.2.170.0070.00722.96
8.2.160.0140.00020.52
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.00
8.2.110.0090.00020.52
8.2.100.0080.00317.91
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0030.00617.80
8.2.50.0060.00318.07
8.2.40.0040.00418.09
8.2.30.0040.00419.49
8.2.20.0000.00717.66
8.2.10.0040.00417.54
8.2.00.0000.00817.73
8.1.280.0110.00725.92
8.1.270.0020.00523.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.01022.42
8.1.230.0120.00020.98
8.1.220.0040.00418.77
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0050.00217.40
8.1.180.0000.00818.10
8.1.170.0040.00418.35
8.1.160.0000.00718.75
8.1.150.0040.00418.56
8.1.140.0000.00717.29
8.1.130.0030.00317.73
8.1.120.0040.00417.35
8.1.110.0080.00017.23
8.1.100.0030.00417.26
8.1.90.0000.00717.24
8.1.80.0040.00417.26
8.1.70.0000.00717.30
8.1.60.0080.00017.39
8.1.50.0040.00417.31
8.1.40.0060.00317.51
8.1.30.0040.00417.43
8.1.20.0000.00917.62
8.1.10.0070.00017.50
8.1.00.0040.00417.49
8.0.300.0040.00419.98
8.0.290.0040.00416.80
8.0.280.0000.00718.37
8.0.270.0000.00717.19
8.0.260.0000.00716.82
8.0.250.0040.00416.84
8.0.240.0050.00316.95
8.0.230.0030.00316.84
8.0.220.0040.00416.91
8.0.210.0040.00416.79
8.0.200.0060.00016.98
8.0.190.0000.00716.95
8.0.180.0070.00016.84
8.0.170.0060.00316.88
8.0.160.0030.00416.92
8.0.150.0070.00016.68
8.0.140.0050.00316.88
8.0.130.0000.00513.38
8.0.120.0040.00416.83
8.0.110.0040.00416.72
8.0.100.0070.00016.93
8.0.90.0070.00016.92
8.0.80.0120.00316.95
8.0.70.0000.00716.79
8.0.60.0040.00416.78
8.0.50.0070.00016.93
8.0.30.0110.00817.09
8.0.20.0090.00917.40
8.0.10.0030.00516.99
8.0.00.0120.00916.76
7.4.330.0030.00415.07
7.4.320.0000.00616.29
7.4.300.0000.00616.55
7.4.290.0000.00716.39
7.4.280.0030.00516.32
7.4.270.0070.00016.54
7.4.260.0050.00013.21
7.4.250.0020.00516.33
7.4.240.0000.00716.57
7.4.230.0040.00416.56
7.4.220.0090.00916.50
7.4.210.0090.00616.45
7.4.200.0000.00716.49
7.4.190.0030.00316.39
7.4.160.0130.00316.38
7.4.150.0000.01917.40
7.4.140.0150.01217.86
7.4.130.0110.00816.41
7.4.120.0080.01016.44
7.4.110.0040.01216.61
7.4.100.0110.00616.57
7.4.90.0070.01516.44
7.4.80.0090.01319.39
7.4.70.0090.00916.34
7.4.60.0100.00716.39
7.4.50.0060.00316.30
7.4.40.0120.00322.77
7.4.30.0090.00916.41
7.4.00.0030.01314.76
7.3.330.0000.00513.01
7.3.320.0030.00313.10
7.3.310.0060.00016.26
7.3.300.0000.00716.26
7.3.290.0090.00916.22
7.3.280.0070.00716.26
7.3.270.0070.01017.40
7.3.260.0080.00918.24
7.3.250.0130.00516.25
7.3.240.0110.00416.52
7.3.230.0160.00616.39
7.3.210.0080.00816.23
7.3.200.0030.01316.23
7.3.190.0120.00616.45
7.3.180.0060.01016.54
7.3.170.0110.00616.47
7.3.160.0050.01416.36
7.3.120.0070.01014.89
7.3.10.0030.00916.54
7.3.00.0040.00816.53
7.2.330.0140.00716.55
7.2.320.0030.01316.49
7.2.310.0140.00416.21
7.2.300.0070.01016.32
7.2.290.0060.01016.61
7.2.130.0080.00616.95
7.2.120.0080.00716.58
7.2.110.0040.00916.58
7.2.100.0060.00816.85
7.2.90.0060.00616.96
7.2.80.0070.00816.55
7.2.70.0000.01216.60
7.2.60.0040.00716.87
7.2.50.0070.00416.83
7.2.40.0120.00116.62
7.2.30.0080.00716.69
7.2.20.0070.00816.82
7.2.10.0040.00716.72
7.2.00.0040.00817.76
7.1.250.0070.00415.62
7.1.240.0030.01015.67
7.1.230.0060.00915.49
7.1.220.0060.00615.45
7.1.210.0090.00315.66
7.1.200.0020.01015.59
7.1.190.0000.00915.39
7.1.180.0060.00915.45
7.1.170.0000.00815.63
7.1.160.0030.00515.56
7.1.150.0080.00815.70
7.1.140.0030.00915.46
7.1.130.0040.00415.49
7.1.120.0080.00415.48
7.1.110.0070.00715.69
7.1.100.0000.01015.61
7.1.90.0090.00315.61
7.1.80.0110.00415.71
7.1.70.0040.00416.21
7.1.60.0050.00816.28
7.1.50.0160.00925.21
7.1.40.0000.01015.75
7.1.30.0040.01115.61
7.1.20.0140.00015.55
7.1.10.0100.00715.52
7.1.00.0020.04018.91
7.0.330.0140.00015.22
7.0.320.0060.00915.30
7.0.310.0080.00415.05
7.0.300.0040.01115.21
7.0.290.0050.00515.20
7.0.280.0000.00815.12
7.0.270.0030.00915.36
7.0.260.0000.01415.31
7.0.250.0000.01115.38
7.0.240.0100.00315.06
7.0.230.0100.01015.45
7.0.220.0100.00715.28
7.0.210.0030.01015.09
7.0.200.0090.00516.00
7.0.190.0030.01215.30
7.0.180.0040.00415.16
7.0.170.0030.00615.35
7.0.160.0120.00315.28
7.0.150.0070.00415.15
7.0.140.0050.04218.74
7.0.130.0080.00315.33
7.0.120.0060.00615.42
7.0.110.0030.01015.20
7.0.100.0120.03817.60
7.0.90.0050.04517.55
7.0.80.0030.03117.76
7.0.70.0070.02717.56
7.0.60.0080.04517.62
7.0.50.0050.04517.90
7.0.40.0090.04216.66
7.0.30.0090.03516.72
7.0.20.0100.02816.66
7.0.10.0030.04516.60
7.0.00.0070.04016.72
5.6.380.0000.00814.05
5.6.370.0030.00714.45
5.6.360.0140.00314.11
5.6.350.0100.00314.15
5.6.340.0070.00713.86
5.6.330.0030.01014.04
5.6.320.0030.01014.25
5.6.310.0120.00313.68
5.6.300.0120.00314.06
5.6.290.0040.00814.41
5.6.280.0040.04217.57
5.6.270.0120.00014.20
5.6.260.0050.00514.12
5.6.250.0080.04317.50
5.6.240.0060.04317.29
5.6.230.0080.02317.39
5.6.220.0030.04317.29
5.6.210.0130.03517.38
5.6.200.0090.04417.50
5.6.190.0030.04817.57
5.6.180.0040.04917.50
5.6.170.0040.03317.48
5.6.160.0080.03817.50
5.6.150.0020.04417.49
5.6.140.0050.04717.47
5.6.130.0090.04317.52
5.6.120.0070.04517.54
5.6.110.0020.05017.46
5.6.100.0020.04717.54
5.6.90.0020.04917.57
5.6.80.0110.04017.16
5.6.70.0090.03717.12
5.6.60.0100.02517.05
5.6.50.0110.03017.12
5.6.40.0050.04317.13
5.6.30.0050.03917.14
5.6.20.0120.03217.25
5.6.10.0130.03817.11
5.6.00.0110.03617.04
5.5.380.0050.04915.56
5.5.370.0020.05115.68
5.5.360.0020.04615.62
5.5.350.0080.04215.50
5.5.340.0050.03815.84
5.5.330.0050.05015.75
5.5.320.0050.05315.90
5.5.310.0070.04215.87
5.5.300.0050.04115.73
5.5.290.0050.04115.77
5.5.280.0000.04915.82
5.5.270.0080.04115.64
5.5.260.0080.04215.70
5.5.250.0000.05015.63
5.5.240.0050.04215.38
5.5.230.0050.03715.59
5.5.220.0050.03815.41
5.5.210.0050.02315.35
5.5.200.0030.04415.26
5.5.190.0080.03715.34
5.5.180.0030.04415.42
5.5.170.0030.00610.64
5.5.160.0040.04415.41
5.5.150.0050.04215.31
5.5.140.0110.03815.20
5.5.130.0020.04515.57
5.5.120.0090.03615.40
5.5.110.0050.04315.51
5.5.100.0110.04215.36
5.5.90.0020.04215.39
5.5.80.0030.04315.24
5.5.70.0100.03615.38
5.5.60.0050.04215.45
5.5.50.0100.03815.31
5.5.40.0080.04315.38
5.5.30.0070.04015.28
5.5.20.0050.04315.40
5.5.10.0100.03715.34
5.5.00.0070.04115.19
5.4.450.0070.04315.09
5.4.440.0030.04414.99
5.4.430.0120.03815.07
5.4.420.0060.04315.02
5.4.410.0070.03915.00
5.4.400.0070.04314.81
5.4.390.0080.04114.62
5.4.380.0030.04214.85
5.4.370.0120.03214.82
5.4.360.0060.03714.88
5.4.350.0060.04114.92
5.4.340.0050.04114.80
5.4.330.0000.01110.70
5.4.320.0050.03514.70
5.4.310.0110.03614.82
5.4.300.0050.04214.85
5.4.290.0080.03114.95
5.4.280.0080.03714.68
5.4.270.0060.03814.62
5.4.260.0050.04214.89
5.4.250.0080.04114.71
5.4.240.0050.04314.65
5.4.230.0070.03614.71
5.4.220.0030.04614.80
5.4.210.0100.03814.96
5.4.200.0110.04114.68
5.4.190.0020.04314.88
5.4.180.0060.03514.81
5.4.170.0030.03214.77
5.4.160.0110.04714.80
5.4.150.0050.03614.66
5.4.140.0080.02313.44
5.4.130.0070.02113.43
5.4.120.0050.02313.47
5.4.110.0020.02413.54
5.4.100.0050.02013.38
5.4.90.0050.02013.46
5.4.80.0020.02513.45
5.4.70.0020.02513.50
5.4.60.0070.02013.38
5.4.50.0060.02813.37
5.4.40.0040.01813.57
5.4.30.0060.01713.46
5.4.20.0030.04013.55
5.4.10.0090.03713.50
5.4.00.0060.02513.08
5.3.290.0030.04012.47
5.3.280.0110.03312.33
5.3.270.0050.04012.40
5.3.260.0020.04112.35
5.3.250.0030.04012.34
5.3.240.0010.02112.25
5.3.230.0040.02212.22
5.3.220.0000.02412.37
5.3.210.0020.02212.39
5.3.200.0020.02412.34
5.3.190.0070.01912.45
5.3.180.0050.02212.39
5.3.170.0050.02012.34
5.3.160.0050.01812.39
5.3.150.0000.02312.43
5.3.140.0100.01712.33
5.3.130.0070.03512.47
5.3.120.0050.04512.41
5.3.110.0050.02312.41
5.3.100.0040.04012.09
5.3.90.0060.03312.10
5.3.80.0110.01812.01
5.3.70.0060.03012.06
5.3.60.0080.03712.11
5.3.50.0050.03311.99
5.3.40.0030.02511.98
5.3.30.0030.02311.95
5.3.20.0070.01711.88
5.3.10.0010.03611.77
5.3.00.0040.02011.75
5.2.170.0020.03510.44
5.2.160.0020.01710.47
5.2.150.0020.01910.52
5.2.140.0060.02910.54
5.2.130.0030.02010.51
5.2.120.0030.02710.54
5.2.110.0040.01910.45
5.2.100.0020.01910.51
5.2.90.0020.01810.52
5.2.80.0070.01710.49
5.2.70.0050.01410.52
5.2.60.0050.01410.43
5.2.50.0030.01810.51
5.2.40.0040.01510.48
5.2.30.0060.01510.42
5.2.20.0040.01810.41
5.2.10.0050.01610.41
5.2.00.0030.02010.29
5.1.60.0090.0109.88
5.1.50.0020.0159.88
5.1.40.0050.0189.96
5.1.30.0030.01310.17
5.1.20.0030.01310.11
5.1.10.0000.01810.01
5.1.00.0070.01210.00
5.0.50.0040.0149.29
5.0.40.0010.0239.21
5.0.30.0010.0209.10
5.0.20.0020.0209.04
5.0.10.0020.0129.10
5.0.00.0020.0159.04
4.4.90.0000.0109.04
4.4.80.0000.0109.04
4.4.70.0030.0089.04
4.4.60.0000.0119.04
4.4.50.0020.0119.04
4.4.40.0030.0159.04
4.4.30.0000.0149.04
4.4.20.0020.0089.04
4.4.10.0030.0089.04
4.4.00.0030.0139.04
4.3.110.0010.0139.04
4.3.100.0040.0109.04
4.3.90.0030.0109.04
4.3.80.0000.0159.04
4.3.70.0000.0129.04
4.3.60.0000.0119.04
4.3.50.0000.0089.04
4.3.40.0020.0129.04
4.3.30.0000.0089.04
4.3.20.0030.0089.04
4.3.10.0030.0089.04
4.3.00.0020.0119.04

preferences:
44.79 ms | 401 KiB | 5 Q