3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { function fetch($how = NULL, $orientation = NULL, $offset = NULL); } class bar extends PDOStatement implements foo { function fetch($bound_input_params = NULL) { print'fetch'; parent::fetch($bound_input_params); } } $bar = new bar(); $bar->fetch(); ?>

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.40.0040.01118.71
8.3.30.0070.00720.40
8.3.20.0040.00420.29
8.3.10.0000.00721.92
8.3.00.0000.00722.44
8.2.170.0070.01022.96
8.2.160.0030.01020.52
8.2.150.0070.00024.18
8.2.140.0180.00024.66
8.2.130.0060.00326.16
8.2.120.0050.00319.65
8.2.110.0100.01022.25
8.2.100.0100.00019.28
8.2.90.0000.00719.09
8.2.80.0050.00319.27
8.2.70.0000.00817.63
8.2.60.0000.00817.93
8.2.50.0050.00318.07
8.2.40.0040.00417.96
8.2.30.0000.00717.87
8.2.20.0040.00417.46
8.2.10.0000.00717.54
8.2.00.0040.00417.61
8.1.270.0060.00324.66
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00623.81
8.1.230.0070.00319.09
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0030.00617.50
8.1.180.0030.00621.94
8.1.170.0000.00818.41
8.1.160.0050.00322.17
8.1.150.0070.00018.48
8.1.140.0050.00317.38
8.1.130.0040.00419.08
8.1.120.0030.00517.31
8.1.110.0040.00417.37
8.1.100.0080.00017.32
8.1.90.0040.00417.44
8.1.80.0030.00517.29
8.1.70.0000.00717.30
8.1.60.0040.00417.45
8.1.50.0080.00017.34
8.1.40.0000.00817.33
8.1.30.0070.00017.54
8.1.20.0080.00017.59
8.1.10.0030.00617.25
8.1.00.0040.00417.30
8.0.300.0000.00818.77
8.0.290.0030.00617.05
8.0.280.0000.00718.30
8.0.270.0030.00316.77
8.0.260.0000.00716.83
8.0.250.0030.00316.89
8.0.240.0030.00616.92
8.0.230.0070.00016.92
8.0.220.0000.00716.79
8.0.210.0030.00316.86
8.0.200.0030.00316.97
8.0.190.0000.00716.97
8.0.180.0030.00316.87
8.0.170.0000.00716.95
8.0.160.0030.00316.87
8.0.150.0030.00316.88
8.0.140.0040.00416.76
8.0.130.0030.00313.25
8.0.120.0090.00016.86
8.0.110.0000.00716.90
8.0.100.0040.00416.84
8.0.90.0000.00817.00
8.0.80.0120.00916.95
8.0.70.0040.00416.73
8.0.60.0030.00316.69
8.0.50.0030.00516.95
8.0.30.0050.01417.14
8.0.20.0080.01017.40
8.0.10.0040.00416.83
8.0.00.0070.01316.60
7.4.330.0050.00015.00
7.4.320.0000.00616.30
7.4.300.0000.00616.45
7.4.290.0040.00416.39
7.4.280.0050.00316.45
7.4.270.0030.00316.58
7.4.260.0000.00716.44
7.4.250.0040.00416.51
7.4.240.0030.00516.43
7.4.230.0030.00316.24
7.4.220.0150.00316.54
7.4.210.0080.00616.46
7.4.200.0070.00016.35
7.4.190.0040.00416.66
7.4.160.0160.00016.36
7.4.150.0120.00617.40
7.4.140.0140.00617.86
7.4.130.0130.00816.56
7.4.120.0110.00616.41
7.4.110.0080.00816.44
7.4.100.0140.00316.53
7.4.90.0100.00716.57
7.4.80.0100.00719.39
7.4.70.0030.01616.46
7.4.60.0100.00616.54
7.4.50.0030.00316.42
7.4.40.0090.00622.77
7.4.30.0070.01016.41
7.4.10.0040.01214.91
7.4.00.0070.00915.09
7.3.330.0000.00513.35
7.3.320.0060.00013.29
7.3.310.0070.00016.35
7.3.300.0040.00416.30
7.3.290.0030.01016.30
7.3.280.0100.00616.29
7.3.270.0100.01317.40
7.3.260.0160.00916.52
7.3.250.0050.01216.40
7.3.240.0120.01016.30
7.3.230.0060.01216.39
7.3.210.0110.00816.32
7.3.200.0060.01019.39
7.3.190.0160.00716.25
7.3.180.0150.00316.18
7.3.170.0030.01816.31
7.3.160.0040.01216.27
7.3.130.0110.01114.99
7.3.120.0110.00514.87
7.3.110.0110.00614.80
7.3.100.0070.00714.68
7.3.90.0100.00714.95
7.3.80.0070.01014.61
7.3.70.0070.00414.88
7.3.60.0040.01214.57
7.3.50.0070.01014.78
7.3.40.0100.00614.87
7.3.30.0030.01714.64
7.3.20.0090.00316.68
7.3.10.0070.00516.69
7.3.00.0030.00816.60
7.2.330.0090.00916.31
7.2.320.0100.00916.50
7.2.310.0090.00916.68
7.2.300.0060.00916.48
7.2.290.0060.01016.57
7.2.260.0060.01214.69
7.2.250.0090.00314.52
7.2.240.0060.00914.77
7.2.230.0030.01015.05
7.2.220.0030.00714.88
7.2.210.0060.00914.98
7.2.200.0000.01514.93
7.2.190.0000.01414.84
7.2.180.0050.00514.98
7.2.170.0090.00614.99
7.2.160.0000.00814.67
7.2.150.0040.00816.73
7.2.140.0060.00616.80
7.2.130.0070.00416.63
7.2.120.0060.01016.76
7.2.110.0050.00716.70
7.2.100.0070.00516.50
7.2.90.0080.00716.66
7.2.80.0060.00716.74
7.2.70.0030.00816.80
7.2.60.0030.01216.63
7.2.50.0050.00516.66
7.2.40.0030.01116.60
7.2.30.0020.01016.73
7.2.20.0040.00816.67
7.2.10.0050.00716.72
7.2.00.0060.00617.54
7.1.330.0070.00715.43
7.1.320.0000.00915.27
7.1.310.0100.00615.55
7.1.300.0030.00915.56
7.1.290.0120.00315.64
7.1.280.0000.02115.65
7.1.270.0070.00415.33
7.1.260.0040.00715.70
7.1.250.0070.00215.59
7.1.240.0060.00315.62
7.1.230.0070.00715.76
7.1.220.0040.00415.72
7.1.210.0110.00415.71
7.1.200.0080.00515.58
7.1.190.0060.00615.67
7.1.180.0080.00315.65
7.1.170.0090.00015.55
7.1.160.0070.00715.81
7.1.150.0100.00315.78
7.1.140.0000.00915.75
7.1.130.0030.00515.72
7.1.120.0040.00415.51
7.1.110.0030.01015.90
7.1.100.0060.00816.62
7.1.90.0030.00515.57
7.1.80.0080.00415.41
7.1.70.0000.01016.14
7.1.60.0090.01017.46
7.1.50.0130.00716.26
7.1.40.0070.00715.70
7.1.30.0060.01015.68
7.1.20.0000.01315.52
7.1.10.0030.00615.75
7.1.00.0120.03318.96
7.0.330.0090.00015.31
7.0.320.0000.00915.10
7.0.310.0090.00615.18
7.0.300.0060.00915.32
7.0.290.0060.00615.28
7.0.280.0070.00715.39
7.0.270.0070.00415.41
7.0.260.0040.00815.33
7.0.250.0000.01315.32
7.0.240.0050.00315.41
7.0.230.0040.00415.54
7.0.220.0060.00315.11
7.0.210.0060.00315.32
7.0.200.0150.00515.05
7.0.190.0080.00415.34
7.0.180.0040.01115.41
7.0.170.0090.00015.21
7.0.160.0060.01015.34
7.0.150.0000.00815.27
7.0.140.0080.03518.67
7.0.130.0100.00615.27
7.0.120.0000.00915.23
7.0.110.0100.00315.11
7.0.100.0030.01015.36
7.0.90.0110.00315.36
7.0.80.0070.00715.20
7.0.70.0030.01015.23
7.0.60.0050.04117.63
7.0.50.0030.04416.62
7.0.40.0090.04216.73
7.0.30.0160.03816.79
7.0.20.0180.04516.65
7.0.10.0100.03416.87
7.0.00.0080.02716.81
5.6.400.0060.00613.95
5.6.390.0090.00614.08
5.6.380.0090.00614.01
5.6.370.0030.00713.89
5.6.360.0030.01314.52
5.6.350.0060.00614.08
5.6.340.0060.00614.21
5.6.330.0030.01014.32
5.6.320.0030.01414.22
5.6.310.0000.01313.87
5.6.300.0070.01014.50
5.6.290.0040.01214.39
5.6.280.0100.03517.46
5.6.270.0040.00813.91
5.6.260.0090.00614.35
5.6.250.0030.01014.21
5.6.240.0040.00714.18
5.6.230.0140.00014.10
5.6.220.0060.00914.27
5.6.210.0100.02317.59
5.6.200.0030.03616.19
5.6.190.0030.02517.36
5.6.180.0180.04517.45
5.6.170.0150.04317.18
5.6.160.0100.04317.30
5.6.150.0060.04516.15
5.6.140.0090.03416.29
5.6.130.0030.04816.20
5.6.120.0080.04817.57
5.6.110.0030.05317.58
5.6.100.0080.02817.66
5.6.90.0110.04117.65
5.6.80.0030.04917.24
5.6.70.0140.00014.38
5.6.60.0030.00914.08
5.6.50.0040.00413.93
5.6.40.0000.01414.26
5.6.30.0080.00413.88
5.6.20.0060.00614.26
5.6.10.0000.00814.08
5.6.00.0090.00614.03
5.5.380.0120.00314.03
5.5.370.0070.00314.19
5.5.360.0070.00714.13
5.5.350.0100.04317.19
5.5.340.0090.02515.91
5.5.330.0030.04917.22
5.5.320.0110.02817.20
5.5.310.0140.03917.27
5.5.300.0030.05016.09
5.5.290.0000.04716.14
5.5.280.0050.04417.55
5.5.270.0060.03717.39
5.5.260.0120.04017.38
5.5.250.0050.04517.37
5.5.240.0200.03617.06
5.5.230.0070.01014.16
5.5.220.0000.01013.78
5.5.210.0000.01313.94
5.5.200.0040.00813.96
5.5.190.0040.00813.66
5.5.180.0090.00614.04
5.5.170.0040.01113.99
5.5.160.0090.00614.23
5.5.150.0070.00413.93
5.5.140.0060.00314.06
5.5.130.0070.00713.85
5.5.120.0080.00014.13
5.5.110.0040.00814.23
5.5.100.0060.01014.17
5.5.90.0060.00313.65
5.5.80.0080.00014.20
5.5.70.0030.00914.23
5.5.60.0070.00714.02
5.5.50.0090.00013.85
5.5.40.0050.00514.07
5.5.30.0040.00714.15
5.5.20.0030.00714.20
5.5.10.0000.01414.06
5.5.00.0030.00514.05
5.4.450.0120.02315.05
5.4.440.0130.02415.21
5.4.430.0120.02215.15
5.4.420.0150.02615.01
5.4.410.0130.02815.19
5.4.400.0130.02314.96
5.4.390.0100.02315.02
5.4.380.0170.03714.89
5.4.370.0150.02515.02
5.4.360.0150.03715.06
5.4.350.0130.02614.92
5.4.340.0120.03915.00
5.4.330.0030.00610.81
5.4.320.0130.03115.04
5.4.310.0150.03515.07
5.4.300.0150.02814.89
5.4.290.0130.01814.92
5.4.280.0190.03214.90
5.4.270.0130.02514.89
5.4.260.0100.02314.89
5.4.250.0100.02515.05
5.4.240.0120.02215.00
5.4.230.0190.03515.09
5.4.220.0170.03814.75
5.4.210.0170.03914.85
5.4.200.0180.02614.96
5.4.190.0170.03214.91
5.4.180.0130.03314.85
5.4.170.0100.02514.82
5.4.160.0180.03214.92
5.4.150.0170.03315.03
5.4.140.0160.03713.53
5.4.130.0130.03813.62
5.4.120.0120.03213.58
5.4.110.0170.03513.75
5.4.100.0130.01813.36
5.4.90.0130.01813.56
5.4.80.0120.04113.62
5.4.70.0100.02913.67
5.4.60.0130.02513.71
5.4.50.0130.03713.70
5.4.40.0170.02813.65
5.4.30.0110.02513.57
5.4.20.0180.03613.63
5.4.10.0100.03113.63
5.4.00.0130.03613.40
5.3.290.0110.02412.58
5.3.280.0100.02412.38
5.3.270.0150.02412.51
5.3.260.0170.03712.49
5.3.250.0100.03212.39
5.3.240.0130.03512.38
5.3.230.0130.03712.46
5.3.220.0150.03712.38
5.3.210.0210.02012.33
5.3.200.0130.04012.50
5.3.190.0230.02812.46
5.3.180.0210.03312.46
5.3.170.0120.03912.51
5.3.160.0130.03812.47
5.3.150.0100.03012.55
5.3.140.0170.03412.36
5.3.130.0150.02712.40
5.3.120.0150.03112.35
5.3.110.0130.04012.44
5.3.100.0150.02712.13
5.3.90.0100.04312.27
5.3.80.0130.03612.28
5.3.70.0160.03512.05
5.3.60.0110.03112.00
5.3.50.0190.02512.06
5.3.40.0160.01912.09
5.3.30.0100.02211.95
5.3.20.0110.02611.96
5.3.10.0170.03311.71
5.3.00.0140.01711.72
5.2.170.0130.03313.17
5.2.160.0200.05313.17
5.2.150.0070.04313.17
5.2.140.0130.06313.17
5.2.130.0230.05713.17
5.2.120.0170.02713.17
5.2.110.0100.03313.17
5.2.100.0200.03713.17
5.2.90.0200.05713.17
5.2.80.0270.03713.17
5.2.70.0200.05713.17
5.2.60.0200.04313.17
5.2.50.0200.06313.17
5.2.40.0230.05313.17
5.2.30.0100.04313.17
5.2.20.0170.06013.17
5.2.10.0200.03313.17
5.2.00.0130.03713.17
5.1.60.0130.02313.17
5.1.50.0200.01713.17
5.1.40.0200.04713.17
5.1.30.0100.03013.17
5.1.20.0170.03013.17
5.1.10.0130.03313.17
5.1.00.0100.03713.17
5.0.50.0100.02013.17
5.0.40.0030.02313.17
5.0.30.0070.03013.17
5.0.20.0100.04013.17
5.0.10.0070.04013.17
5.0.00.0070.05013.17
4.4.90.0100.03313.17
4.4.80.0070.02313.17
4.4.70.0100.01713.17
4.4.60.0100.02013.17
4.4.50.0070.02713.17
4.4.40.0070.04713.17
4.4.30.0070.01713.17
4.4.20.0070.02713.17
4.4.10.0100.03713.17
4.4.00.0230.01713.17
4.3.110.0070.02313.17
4.3.100.0100.02013.17
4.3.90.0100.02013.17
4.3.80.0100.05713.17
4.3.70.0100.02313.17
4.3.60.0030.01713.17
4.3.50.0070.02713.17
4.3.40.0070.04313.17
4.3.30.0130.03013.17
4.3.20.0000.02313.17
4.3.10.0070.03313.17
4.3.00.0070.01713.17

preferences:
49.41 ms | 400 KiB | 5 Q