3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(0, 1000); $level = 9; $params = strtr(base64_encode(gzcompress(serialize($a), $level)), '+/=', 'äåö'); $className = 'SomeClass_' . $params; var_dump(strlen($params)); eval('class ' . $className . ' {}'); var_dump(new $className());

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.70.0150.00616.75
8.3.60.0130.00618.13
8.3.50.0120.00921.27
8.3.40.0120.00619.02
8.3.30.0110.00720.48
8.3.20.0030.00720.54
8.3.10.0130.00721.09
8.3.00.0040.00722.16
8.2.180.0080.01116.63
8.2.170.0070.01122.96
8.2.160.0130.01320.57
8.2.150.0040.00824.18
8.2.140.0040.00724.66
8.2.130.0060.00326.16
8.2.120.0070.00321.07
8.2.110.0070.00419.61
8.2.100.0070.00717.97
8.2.90.0030.00719.51
8.2.80.0000.01018.05
8.2.70.0030.00717.75
8.2.60.0000.01018.29
8.2.50.0040.00718.07
8.2.40.0000.01118.34
8.2.30.0070.00319.75
8.2.20.0000.01017.78
8.2.10.0110.00017.98
8.2.00.0000.01018.10
8.1.280.0130.00625.92
8.1.270.0030.00723.99
8.1.260.0030.00626.35
8.1.250.0070.00328.09
8.1.240.0070.00722.29
8.1.230.0070.00721.27
8.1.220.0030.00718.77
8.1.210.0030.00719.34
8.1.200.0080.00817.48
8.1.190.0080.00317.78
8.1.180.0080.00318.10
8.1.170.0070.00318.90
8.1.160.0030.00719.12
8.1.150.0050.00918.71
8.1.140.0070.00317.74
8.1.130.0060.00318.08
8.1.120.0000.01017.76
8.1.110.0030.00717.75
8.1.100.0000.01017.64
8.1.90.0070.00417.72
8.1.80.0040.00717.61
8.1.70.0030.00717.73
8.1.60.0040.00717.83
8.1.50.0070.00317.63
8.1.40.0050.00517.64
8.1.30.0040.00717.89
8.1.20.0040.00717.85
8.1.10.0070.00317.85
8.1.00.0040.00717.61
8.0.300.0040.00720.13
8.0.290.0030.00617.41
8.0.280.0030.00618.64
8.0.270.0080.00417.38
8.0.260.0000.00917.02
8.0.250.0030.01017.12
8.0.240.0060.00617.17
8.0.230.0030.00617.22
8.0.220.0000.00917.03
8.0.210.0050.00517.12
8.0.200.0000.01017.11
8.0.190.0070.00317.09
8.0.180.0070.00317.11
8.0.170.0030.00817.09
8.0.160.0030.00617.05
8.0.150.0080.00317.16
8.0.140.0000.01017.01
8.0.130.0040.00413.51
8.0.120.0070.00316.96
8.0.110.0000.01017.14
8.0.100.0000.01017.13
8.0.90.0060.00317.16
8.0.80.0070.01317.13
8.0.70.0030.00717.02
8.0.60.0070.00317.14
8.0.50.0030.00717.16
8.0.30.0120.01117.47
8.0.20.0070.01617.40
8.0.10.0090.00317.32
8.0.00.0070.01516.99
7.4.330.0020.00516.80
7.4.320.0000.00916.85
7.4.300.0000.01016.86
7.4.290.0000.01016.80
7.4.280.0060.00316.69
7.4.270.0040.00716.77
7.4.260.0030.00613.57
7.4.250.0050.00516.71
7.4.240.0070.00316.79
7.4.230.0030.00616.55
7.4.220.0100.01416.80
7.4.210.0110.00816.80
7.4.200.0030.00616.85
7.4.190.0060.00316.73
7.4.160.0100.01316.63
7.4.150.0130.01317.40
7.4.140.0120.00917.86
7.4.130.0180.00616.78
7.4.120.0120.00916.82
7.4.110.0070.01316.65
7.4.100.0070.01716.73
7.4.90.0150.01516.83
7.4.80.0150.00619.39
7.4.70.0090.01516.76
7.4.60.0050.00716.76
7.4.50.0090.00316.85
7.4.40.0000.02122.77
7.4.30.0070.01416.79
7.4.10.0050.01815.05
7.4.00.0090.01115.18
7.3.330.0000.00813.55
7.3.320.0060.00313.43
7.3.310.0060.00316.51
7.3.300.0050.00516.45
7.3.290.0030.02016.63
7.3.280.0100.01316.60
7.3.270.0060.01517.40
7.3.260.0130.01118.24
7.3.250.0100.01516.75
7.3.240.0120.00916.63
7.3.230.0070.01316.92
7.3.210.0070.01316.74
7.3.200.0120.01219.39
7.3.190.0130.01016.88
7.3.180.0060.01516.71
7.3.170.0040.01516.90
7.3.160.0140.01116.82
7.3.130.0050.01214.76
7.3.120.0130.00815.03
7.3.110.0060.01415.05
7.3.100.0090.00915.23
7.3.90.0040.01215.01
7.3.80.0060.01115.03
7.3.70.0040.01415.05
7.3.60.0030.01314.99
7.3.50.0050.01014.99
7.3.40.0030.00914.93
7.3.30.0050.01315.10
7.3.20.0050.01316.62
7.3.10.0060.01116.63
7.3.00.0070.00916.64
7.2.330.0090.01316.81
7.2.320.0090.01916.96
7.2.310.0090.01816.61
7.2.300.0140.00817.00
7.2.290.0090.01217.05
7.2.260.0130.01015.35
7.2.250.0070.01515.27
7.2.240.0030.01315.28
7.2.230.0070.01015.32
7.2.220.0060.01115.47
7.2.210.0040.01215.33
7.2.200.0030.01415.31
7.2.190.0060.00915.14
7.2.180.0060.01215.29
7.2.170.0040.01115.30
7.2.160.0060.00815.24
7.2.150.0010.01616.90
7.2.140.0080.00816.99
7.2.130.0000.01816.86
7.2.120.0090.01016.99
7.2.110.0020.01316.92
7.2.100.0080.01016.89
7.2.90.0020.01416.86
7.2.80.0030.01216.88
7.2.70.0060.00916.99
7.2.60.0090.01016.85
7.2.50.0040.01116.94
7.2.40.0010.01416.91
7.2.30.0060.01016.88
7.2.20.0030.01316.94
7.2.10.0040.01217.06
7.2.00.0060.00916.98
7.1.330.0080.00915.91
7.1.320.0060.01215.91
7.1.310.0060.00815.88
7.1.300.0050.00915.86
7.1.290.0040.01115.74
7.1.280.0030.01415.82
7.1.270.0070.00915.81
7.1.260.0010.01315.78
7.1.250.0070.01115.78
7.1.240.0070.00615.70
7.1.230.0060.01115.89
7.1.220.0090.00815.78
7.1.210.0050.01015.83
7.1.200.0000.01515.83
7.1.190.0080.00815.87
7.1.180.0070.01015.88
7.1.170.0050.01315.88
7.1.160.0020.01315.76
7.1.150.0060.01115.81
7.1.140.0030.01215.77
7.1.130.0080.00815.82
7.1.120.0060.00915.89
7.1.110.0030.01515.90
7.1.100.0040.01316.65
7.1.90.0060.00915.93
7.1.80.0040.00815.74
7.1.70.0060.01116.29
7.1.60.0040.01316.28
7.1.50.0090.01216.21
7.1.40.0100.00715.83
7.1.30.0080.00615.88
7.1.20.0030.01415.91
7.1.10.0050.01215.85
7.1.00.0010.02318.12
7.0.330.0070.00615.34
7.0.320.0030.01315.50
7.0.310.0010.01015.50
7.0.300.0030.00915.29
7.0.290.0110.00315.48
7.0.280.0050.00515.46
7.0.270.0050.00915.22
7.0.260.0070.01015.44
7.0.250.0050.00915.38
7.0.240.0050.01015.53
7.0.230.0070.01115.46
7.0.220.0010.01515.44
7.0.210.0030.01415.41
7.0.200.0020.01615.74
7.0.190.0030.01515.52
7.0.180.0050.01215.53
7.0.170.0070.01015.56
7.0.160.0070.01115.36
7.0.150.0080.00815.44
7.0.140.0020.03317.58
7.0.130.0060.01015.50
7.0.120.0060.00815.46
7.0.110.0000.01515.42
7.0.100.0060.01015.30
7.0.90.0050.00815.43
7.0.80.0060.03416.90
7.0.70.0090.02516.92
7.0.60.0080.03517.08
7.0.50.0050.02917.17
7.0.40.0040.03815.63
7.0.30.0070.02415.65
7.0.20.0050.03715.63
7.0.10.0040.03515.80
7.0.00.0060.03715.74
5.6.400.0040.01414.90
5.6.390.0060.01115.00
5.6.380.0060.01414.99
5.6.370.0050.01014.75
5.6.360.0030.01414.67
5.6.350.0070.01014.75
5.6.340.0060.00714.62
5.6.330.0000.01314.75
5.6.320.0050.00814.77
5.6.310.0010.01614.59
5.6.300.0040.01114.71
5.6.290.0030.01214.51
5.6.280.0030.03616.82
5.6.270.0070.01014.64
5.6.260.0050.01314.69
5.6.250.0090.00914.74
5.6.240.0080.00714.78
5.6.230.0060.02816.75
5.6.220.0100.03216.86
5.6.210.0100.03416.90
5.6.200.0030.03416.89
5.6.190.0040.03516.95
5.6.180.0040.02716.99
5.6.170.0060.03916.81
5.6.160.0090.02216.80
5.6.150.0040.02517.06
5.6.140.0050.03816.94
5.6.130.0060.03716.94
5.6.120.0060.02816.93
5.6.110.0070.03516.88
5.6.100.0080.03417.02
5.6.90.0090.03416.98
5.6.80.0100.01916.71
5.6.70.0050.02216.71
5.6.60.0090.01816.81
5.6.50.0030.02416.76
5.6.40.0030.02516.64
5.6.30.0060.02216.51
5.6.20.0050.03216.65
5.6.10.0080.01816.74
5.6.00.0080.02016.73
5.5.380.0050.01414.58
5.5.370.0050.03816.63
5.5.360.0090.02216.76
5.5.350.0060.03516.92
5.5.340.0070.03716.71
5.5.330.0050.03516.77
5.5.320.0090.03216.76
5.5.310.0080.02916.79
5.5.300.0050.03116.77
5.5.290.0100.03416.88
5.5.280.0090.03116.86
5.5.270.0080.03216.79
5.5.260.0080.03416.94
5.5.250.0110.02516.77
5.5.240.0060.02316.51
5.5.230.0110.01716.55
5.5.220.0060.01916.42
5.5.210.0060.02216.52
5.5.200.0060.02016.61
5.5.190.0090.01716.47
5.5.180.0070.02716.49
5.5.170.0050.01114.61
5.5.160.0060.02216.62
5.5.150.0060.02216.54
5.5.140.0050.01916.49
5.5.130.0040.02616.51
5.5.120.0080.02116.43
5.5.110.0040.02416.58
5.5.100.0040.02216.54
5.5.90.0070.01916.47
5.5.80.0030.02416.56
5.5.70.0050.02116.58
5.5.60.0030.02216.54
5.5.50.0060.02916.42
5.5.40.0060.03216.51
5.5.30.0020.02716.56
5.5.20.0070.02116.55
5.5.10.0080.01816.61
5.5.00.0050.02716.45
5.4.450.0060.03014.04
5.4.440.0020.02714.11
5.4.430.0060.03414.12
5.4.420.0070.03014.04
5.4.410.0100.03313.99
5.4.400.0060.02213.92
5.4.390.0050.02214.10
5.4.380.0020.02114.01
5.4.370.0050.02313.98
5.4.360.0010.02214.06
5.4.350.0060.02114.02
5.4.340.0040.02114.04
5.4.330.0090.00711.23
5.4.320.0020.02214.00
5.4.310.0080.01613.99
5.4.300.0040.01813.82
5.4.290.0060.01813.95
5.4.280.0040.02013.97
5.4.270.0030.02014.02
5.4.260.0070.02113.97
5.4.250.0040.02513.99
5.4.240.0050.01513.98
5.4.230.0040.02413.90
5.4.220.0060.01714.07
5.4.210.0060.01813.93
5.4.200.0010.02414.00
5.4.190.0070.02014.02
5.4.180.0040.02513.88
5.4.170.0010.02213.88
5.4.160.0030.02014.13
5.4.150.0030.01913.99
5.4.140.0060.01912.99
5.4.130.0060.02013.01
5.4.120.0080.01713.11
5.4.110.0060.02012.99
5.4.100.0070.01613.09
5.4.90.0020.02013.13
5.4.80.0030.01913.09
5.4.70.0040.01813.01
5.4.60.0030.01913.05
5.4.50.0090.02913.05
5.4.40.0060.03113.02
5.4.30.0090.01613.16
5.4.20.0040.03613.14
5.4.10.0070.02713.03
5.4.00.0050.03412.92
5.3.290.0040.01812.44
5.3.280.0050.02012.30
5.3.270.0020.02212.36
5.3.260.0060.01912.31
5.3.250.0030.01812.34
5.3.240.0050.02212.28
5.3.230.0030.01812.28
5.3.220.0070.01912.17
5.3.210.0030.02212.07
5.3.200.0030.01912.13
5.3.190.0010.02112.33
5.3.180.0040.01812.21
5.3.170.0020.02012.36
5.3.160.0060.01812.25
5.3.150.0030.03412.30
5.3.140.0050.03012.33
5.3.130.0030.02812.14
5.3.120.0070.03512.21
5.3.110.0050.03412.23
5.3.100.0040.03012.00
5.3.90.0040.03212.10
5.3.80.0020.02911.95
5.3.70.0020.03312.01
5.3.60.0050.03211.98
5.3.50.0050.03311.96
5.3.40.0020.03212.01
5.3.30.0020.03311.85
5.3.20.0080.02911.96
5.3.10.0010.03411.77
5.3.00.0100.02211.70
5.2.170.0000.07311.78
5.2.160.0100.06311.78
5.2.150.0030.07311.78
5.2.140.0030.07011.78
5.2.130.0100.06311.78
5.2.120.0070.06011.78
5.2.110.0030.05011.78
5.2.100.0070.06311.78
5.2.90.0100.06011.78
5.2.80.0030.07011.78
5.2.70.0070.05011.78
5.2.60.0000.05711.78
5.2.50.0070.06711.78
5.2.40.0070.05711.78
5.2.30.0030.07011.78
5.2.20.0170.05711.78
5.2.10.0070.04311.78
5.2.00.0030.05311.78
5.1.60.0000.06011.78
5.1.50.0000.06011.78
5.1.40.0070.05711.78
5.1.30.0030.06711.78
5.1.20.0030.03311.78
5.1.10.0000.07011.78
5.1.00.0070.04711.78
5.0.50.0000.04711.78
5.0.40.0000.05711.78
5.0.30.0070.06311.78
5.0.20.0030.05311.78
5.0.10.0030.05011.78
5.0.00.0030.05011.78
4.4.90.0030.04011.78
4.4.80.0030.04311.78
4.4.70.0000.04311.78
4.4.60.0070.03711.78
4.4.50.0000.04311.78
4.4.40.0000.06011.78
4.4.30.0030.03711.78
4.4.20.0030.04011.78
4.4.10.0070.04011.78
4.4.00.0030.06311.78
4.3.110.0030.04311.78
4.3.100.0000.04311.78
4.3.90.0070.03711.78
4.3.80.0030.05711.78
4.3.70.0000.02311.78
4.3.60.0000.03711.78
4.3.50.0000.03011.78
4.3.40.0030.06011.78
4.3.30.0000.04311.78
4.3.20.0030.04311.78
4.3.10.0000.03311.78
4.3.00.0030.03711.78

preferences:
49.36 ms | 401 KiB | 5 Q