3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!interface_exists('Imagine\Image\ImageInterface')) { if (file_exists(VENDORS . 'imagine.phar')) { include_once 'phar://' . VENDORS . 'imagine.phar'; } else { throw new CakeException( sprintf( 'Download imagine.phar: %s, and extract into vendor: %s', self::IMAGINE_URL, VENDORS ) ); } } return new \Imagine\Gd\Imagine();

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.01318.56
8.3.50.0160.00521.14
8.3.40.0110.00718.83
8.3.30.0040.01119.20
8.3.20.0000.00820.34
8.3.10.0030.00521.91
8.3.00.0040.00420.61
8.2.180.0150.00316.63
8.2.170.0070.01022.96
8.2.160.0090.00619.16
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0080.00019.66
8.2.110.0070.00319.30
8.2.100.0070.00417.97
8.2.90.0000.00919.17
8.2.80.0000.00917.97
8.2.70.0000.01117.50
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0080.00018.16
8.2.30.0040.00418.13
8.2.20.0050.00217.73
8.2.10.0050.00217.69
8.2.00.0040.00417.75
8.1.280.0090.00625.92
8.1.270.0090.00022.06
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00421.31
8.1.230.0070.00417.42
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0000.01217.23
8.1.190.0040.00417.35
8.1.180.0000.00718.75
8.1.170.0050.00318.55
8.1.160.0040.00422.07
8.1.150.0000.00718.63
8.1.140.0040.00417.36
8.1.130.0070.00017.77
8.1.120.0000.00717.40
8.1.110.0040.00417.26
8.1.100.0040.00417.45
8.1.90.0070.00017.30
8.1.80.0000.00717.41
8.1.70.0030.00317.34
8.1.60.0040.00417.50
8.1.50.0040.00417.41
8.1.40.0030.00617.47
8.1.30.0020.00517.59
8.1.20.0040.00417.49
8.1.10.0020.00517.42
8.1.00.0030.00717.50
8.0.300.0020.00518.77
8.0.290.0030.00516.75
8.0.280.0040.00418.39
8.0.270.0000.00817.21
8.0.260.0000.00716.85
8.0.250.0030.00317.07
8.0.240.0040.00416.93
8.0.230.0000.00716.91
8.0.220.0040.00417.00
8.0.210.0050.00216.95
8.0.200.0040.00417.05
8.0.190.0090.00016.97
8.0.180.0030.00516.96
8.0.170.0000.00717.03
8.0.160.0030.00516.87
8.0.150.0000.00716.82
8.0.140.0040.00416.84
8.0.130.0030.00313.48
8.0.120.0000.00716.95
8.0.110.0050.00216.94
8.0.100.0000.00816.76
8.0.90.0000.00817.03
8.0.80.0070.01117.00
8.0.70.0040.00416.78
8.0.60.0000.00916.89
8.0.50.0040.00416.94
8.0.30.0130.00817.08
8.0.20.0110.00717.40
8.0.10.0040.00416.89
8.0.00.0090.00916.77
7.4.330.0050.00015.14
7.4.320.0060.00016.44
7.4.300.0020.00516.46
7.4.290.0000.00816.58
7.4.280.0040.00416.40
7.4.270.0030.00316.47
7.4.260.0000.00716.55
7.4.250.0040.00416.53
7.4.240.0020.00516.45
7.4.230.0040.00416.56
7.4.220.0180.00716.50
7.4.210.0110.00516.54
7.4.200.0030.00316.39
7.4.190.0000.00716.63
7.4.160.0040.01216.52
7.4.150.0100.00617.40
7.4.140.0090.01217.86
7.4.130.0080.01016.66
7.4.120.0110.00916.65
7.4.110.0160.01016.52
7.4.100.0100.01016.67
7.4.90.0130.00716.66
7.4.80.0080.01119.39
7.4.70.0060.01016.49
7.4.60.0140.00316.58
7.4.50.0000.00916.29
7.4.40.0090.00522.77
7.4.30.0100.01016.55
7.4.00.0070.00914.82
7.3.330.0060.00013.08
7.3.320.0000.00512.98
7.3.310.0030.00316.22
7.3.300.0040.00416.26
7.3.290.0090.00616.26
7.3.280.0070.01116.30
7.3.270.0130.01017.40
7.3.260.0170.00716.37
7.3.250.0120.00516.35
7.3.240.0170.00016.39
7.3.230.0100.00716.39
7.3.210.0120.00416.41
7.3.200.0060.01919.39
7.3.190.0070.01016.41
7.3.180.0030.01716.25
7.3.170.0120.00416.49
7.3.160.0060.01116.49
7.3.120.0020.01414.97
7.3.110.0100.01014.68
7.3.100.0060.00914.66
7.3.90.0000.01015.02
7.3.80.0080.00414.79
7.3.70.0120.00414.66
7.3.60.0090.00014.86
7.3.50.0080.00814.75
7.3.40.0070.00414.84
7.3.30.0040.00814.66
7.3.20.0000.01416.66
7.3.10.0070.00716.70
7.3.00.0050.01016.57
7.2.330.0270.02116.77
7.2.320.0190.00316.30
7.2.310.0120.00916.72
7.2.300.0030.01516.65
7.2.290.0080.00816.48
7.2.250.0070.01414.62
7.2.240.0110.01114.75
7.2.230.0110.00714.91
7.2.220.0030.01314.50
7.2.210.0030.01014.94
7.2.200.0120.00614.60
7.2.190.0000.01315.13
7.2.180.0060.00914.70
7.2.170.0000.01515.11
7.2.130.0060.00616.79
7.2.120.0030.01216.55
7.2.110.0040.00716.59
7.2.100.0060.00616.54
7.2.90.0090.00316.73
7.2.80.0150.00616.79
7.2.70.0000.01116.97
7.2.60.0130.00316.73
7.2.50.0030.01016.80
7.2.40.0230.00016.91
7.2.30.0100.00316.68
7.2.20.0100.00716.88
7.2.10.0160.01016.69
7.2.00.0050.00717.96
7.1.330.0040.01115.54
7.1.320.0060.00615.61
7.1.310.0030.01015.65
7.1.300.0070.00315.66
7.1.290.0040.00815.85
7.1.280.0120.00315.88
7.1.270.0040.00815.70
7.1.260.0080.00815.90
7.1.250.0040.00415.75
7.1.240.0060.00815.66
7.1.230.0100.00015.75
7.1.220.0100.00315.67
7.1.210.0030.00715.72
7.1.200.0090.00215.90
7.1.190.0080.00815.77
7.1.180.0130.00615.68
7.1.170.0040.00715.74
7.1.160.0070.00415.50
7.1.150.0100.00315.43
7.1.140.0040.00715.62
7.1.130.0100.00615.84
7.1.120.0000.01415.65
7.1.110.0120.00015.51
7.1.100.0080.00815.77
7.1.90.0080.00315.66
7.1.80.0080.00315.74
7.1.70.0070.00516.43
7.1.60.0020.00916.48
7.1.50.0130.01025.24
7.1.40.0040.00715.67
7.1.30.0060.00615.33
7.1.20.0090.00615.55
7.1.10.0000.01215.67
7.1.00.0080.01519.18
7.0.330.0030.01015.18
7.0.320.0100.00015.24
7.0.310.0040.00415.37
7.0.300.0070.00715.38
7.0.290.0030.00615.04
7.0.280.0100.00715.41
7.0.270.0110.00715.09
7.0.260.0060.00615.11
7.0.250.0130.00315.16
7.0.240.0060.00315.49
7.0.230.0060.00615.39
7.0.220.0000.01115.32
7.0.210.0040.00415.39
7.0.200.0040.00515.99
7.0.190.0030.01014.82
7.0.180.0030.01014.93
7.0.170.0030.00715.40
7.0.160.0080.00015.25
7.0.150.0000.01115.21
7.0.140.0030.04018.75
7.0.130.0050.00515.44
7.0.120.0060.00315.41
7.0.110.0100.00315.32
7.0.100.0030.01015.05
7.0.90.0080.00415.36
7.0.80.0030.00715.40
7.0.70.0030.00915.38
7.0.60.0110.03517.48
7.0.50.0090.04116.56
7.0.40.0060.04716.94
7.0.30.0150.02116.58
7.0.20.0170.02316.79
7.0.10.0150.04216.80
7.0.00.0050.04116.81
5.6.380.0070.00414.24
5.6.370.0030.00614.04
5.6.360.0050.00514.26
5.6.350.0120.00014.49
5.6.340.0030.00714.05
5.6.330.0040.00914.02
5.6.320.0090.00614.08
5.6.310.0060.00614.15
5.6.300.0060.00614.08
5.6.290.0060.00614.30
5.6.280.0020.04217.52
5.6.270.0070.00714.29
5.6.260.0100.00714.27
5.6.250.0090.00614.08
5.6.240.0090.00014.36
5.6.230.0000.00914.19
5.6.220.0000.01014.25
5.6.210.0100.03417.28
5.6.200.0050.03116.25
5.6.190.0080.04517.27
5.6.180.2090.02417.30
5.6.170.0090.03017.30
5.6.160.0020.02817.30
5.6.150.0030.02416.10
5.6.140.0070.02516.28
5.6.130.0050.04115.94
5.6.120.0040.04817.71
5.6.110.0060.02917.66
5.6.100.0030.03617.61
5.6.90.0080.05117.61
5.6.80.0020.04717.23
5.6.70.0170.03217.31
5.6.60.0060.00614.10
5.6.50.0080.00314.32
5.6.40.0030.00913.84
5.6.30.0050.00514.21
5.6.20.0130.00614.15
5.6.10.0210.00713.86
5.6.00.0030.01313.97
5.5.380.0060.00311.21
5.5.370.0030.00911.01
5.5.360.0060.00310.92
5.5.350.0030.02215.92
5.5.340.0020.03414.56
5.5.330.0020.03015.60
5.5.320.0170.03915.73
5.5.310.0090.02315.74
5.5.300.0080.03814.44
5.5.290.0050.04014.55
5.5.280.0060.04515.89
5.5.270.0120.03815.79
5.5.260.0050.04515.75
5.5.250.0040.04715.72
5.5.240.0030.03515.37
5.5.230.0000.01310.98
5.5.220.0000.00810.86
5.5.210.0090.00010.99
5.5.200.0070.00310.52
5.5.190.0040.00410.89
5.5.180.0030.00310.87
5.5.170.0060.00310.86
5.5.160.0000.00911.07
5.5.150.0100.00310.73
5.5.140.0080.00010.86
5.5.130.0060.00311.00
5.5.120.0000.01111.03
5.5.110.0000.00910.80
5.5.100.0040.00410.77
5.5.90.0030.00511.09
5.5.80.0030.00611.06
5.5.70.0040.00410.86
5.5.60.0000.00910.82
5.5.50.0030.00611.07
5.5.40.0070.00010.96
5.5.30.0040.00410.98
5.5.20.0080.00811.04
5.5.10.0040.00411.11
5.5.00.0070.00010.84
5.4.450.0400.03015.27
5.4.440.0470.02515.10
5.4.430.0090.03514.96
5.4.420.0150.02815.30
5.4.410.0090.03415.22
5.4.400.0190.03314.62
5.4.390.0280.03314.73
5.4.380.0170.02814.64
5.4.370.0100.02714.54
5.4.360.0120.02314.75
5.4.350.0110.02614.62
5.4.340.0150.02314.70
5.4.330.0040.00410.59
5.4.320.0060.02011.70
5.4.310.0050.02211.60
5.4.300.0050.02011.65
5.4.290.0030.02611.62
5.4.280.0040.02111.51
5.4.270.0050.02111.57
5.4.260.0050.03014.88
5.4.250.0090.03514.83
5.4.240.0050.02914.75
5.4.230.0120.03214.79
5.4.220.0050.03114.84
5.4.210.0120.02114.87
5.4.200.0070.02914.92
5.4.190.0070.03115.04
5.4.180.0070.02714.95
5.4.170.0080.02514.81
5.4.160.0040.02814.78
5.4.150.0050.03014.79
5.4.140.0030.02813.70
5.4.130.0020.02913.70
5.4.120.0050.02813.57
5.4.110.0020.03013.43
5.4.100.0030.02913.70
5.4.90.0050.02513.69
5.4.80.0100.02713.53
5.4.70.0070.03413.32
5.4.60.0090.03513.66
5.4.50.0060.02513.38
5.4.40.0030.03013.65
5.4.30.0110.03713.52
5.4.20.0100.03013.56
5.4.10.0060.03213.63
5.4.00.0080.02313.39
5.3.290.0050.02511.53
5.3.280.0080.02512.42
5.3.270.0060.02812.50
5.3.260.0060.02912.36
5.3.250.0030.02912.45
5.3.240.0060.02612.47
5.3.230.0040.03012.45
5.3.220.0100.03312.36
5.3.210.0030.03012.41
5.3.200.0080.02312.43
5.3.190.0050.02812.53
5.3.180.0030.03012.41
5.3.170.0050.02712.44
5.3.160.0030.03112.37
5.3.150.0080.02512.50
5.3.140.0080.02812.47
5.3.130.0030.02812.46
5.3.120.0030.03312.40
5.3.110.0050.03012.55
5.3.100.0070.03012.14
5.3.90.0130.02012.25
5.3.80.0100.02612.16
5.3.70.0080.02812.18
5.3.60.0050.02512.09
5.3.50.0030.02712.12
5.3.40.0080.02512.15
5.3.30.0020.02912.05
5.3.20.0020.02911.86
5.3.10.0070.02311.87
5.3.00.0030.02711.95
5.2.170.0020.02410.62
5.2.160.0030.02410.58
5.2.150.0000.02610.71
5.2.140.0030.02310.75
5.2.130.0020.02310.63
5.2.120.0010.02310.68
5.2.110.0030.02210.68
5.2.100.0000.02510.75
5.2.90.0050.02210.56
5.2.80.0050.02110.68
5.2.70.0060.02310.62
5.2.60.0020.02310.66
5.2.50.0030.02510.63
5.2.40.0070.01810.63
5.2.30.0060.02110.62
5.2.20.0070.02010.61
5.2.10.0050.02310.52
5.2.00.0050.03010.53
5.1.60.0070.02310.15
5.1.50.0070.01510.17
5.1.40.0070.02310.14
5.1.30.0050.01810.26
5.1.20.0020.03110.33
5.1.10.0050.01810.12
5.1.00.0070.01310.12
5.0.50.0030.0149.43
5.0.40.0020.0179.29
5.0.30.0040.0219.27
5.0.20.0070.0129.32
5.0.10.0030.0169.17
5.0.00.0030.0229.30
4.4.90.0000.0138.88
4.4.80.0040.0128.88
4.4.70.0010.0138.88
4.4.60.0030.0128.88
4.4.50.0080.0078.88
4.4.40.0050.0158.88
4.4.30.0020.0128.88
4.4.20.0000.0148.88
4.4.10.0000.0158.88
4.4.00.0020.0178.88
4.3.110.0010.0138.88
4.3.100.0040.0108.88
4.3.90.0020.0108.88
4.3.80.0020.0198.88
4.3.70.0000.0148.88
4.3.60.0000.0148.88
4.3.50.0020.0118.88
4.3.40.0020.0188.88
4.3.30.0030.0108.88
4.3.20.0010.0138.88
4.3.10.0000.0128.88
4.3.00.0000.0158.58

preferences:
47.96 ms | 400 KiB | 5 Q