3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestSampleClass { public function doSomething($one = null, $two, $three = null) { return null; } } $tests = array( array('one', null), array('two', null), array('three', null) ); foreach($tests as $test) { $param = new ReflectionParameter(array('TestSampleClass', 'doSomething'), $test[0]); var_dump($param->isDefaultValueAvailable()); }

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.0110.00416.73
8.3.50.0120.00917.39
8.3.40.0090.00620.39
8.3.30.0070.00718.84
8.3.20.0050.00318.54
8.3.10.0000.00818.95
8.3.00.0000.00819.38
8.2.180.0140.00416.63
8.2.170.0120.00422.96
8.2.160.0130.00318.99
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00720.84
8.2.110.0160.00622.14
8.2.100.0030.01017.97
8.2.90.0030.00619.23
8.2.80.0040.00418.04
8.2.70.0080.00017.63
8.2.60.0050.00317.93
8.2.50.0080.00018.03
8.2.40.0080.00020.07
8.2.30.0030.00517.86
8.2.20.0000.01117.55
8.2.10.0040.00417.81
8.2.00.0060.00317.73
8.1.280.0230.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.67
8.1.230.0040.00717.70
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0080.00017.35
8.1.180.0060.00318.10
8.1.170.0040.00417.62
8.1.160.0080.00018.89
8.1.150.0000.00718.56
8.1.140.0000.00717.45
8.1.130.0030.00317.74
8.1.120.0070.00017.46
8.1.110.0040.00417.43
8.1.100.0030.00317.30
8.1.90.0000.00717.45
8.1.80.0070.00017.44
8.1.70.0070.00017.48
8.1.60.0000.00817.62
8.1.50.0030.00517.48
8.1.40.0050.00317.53
8.1.30.0030.00617.66
8.1.20.0000.00717.72
8.1.10.0050.00317.38
8.1.00.0050.00217.46
8.0.300.0000.00718.77
8.0.290.0000.00916.75
8.0.280.0000.00718.57
8.0.270.0040.00417.20
8.0.260.0000.00716.89
8.0.250.0040.00416.90
8.0.240.0050.00516.93
8.0.230.0050.00317.06
8.0.220.0000.00717.00
8.0.210.0040.00416.90
8.0.200.0030.00316.91
8.0.190.0090.00017.04
8.0.180.0040.00417.04
8.0.170.0090.00016.90
8.0.160.0000.00716.86
8.0.150.0060.00317.01
8.0.140.0070.00316.88
8.0.130.0030.00313.41
8.0.120.0080.00416.88
8.0.110.0040.00416.86
8.0.100.0070.00016.84
8.0.90.0000.00717.06
8.0.80.0070.01416.98
8.0.70.0070.00016.77
8.0.60.0000.00816.90
8.0.50.0040.00416.99
8.0.30.0100.00716.97
8.0.20.0050.01317.26
8.0.10.0040.00417.11
8.0.00.0130.00716.68
7.4.330.0030.00312.99
7.4.320.0030.00316.60
7.4.300.0000.00716.49
7.4.290.0030.00316.59
7.4.280.0000.00816.64
7.4.270.0030.00316.62
7.4.260.0000.00613.28
7.4.250.0040.00416.54
7.4.240.0000.00816.57
7.4.230.0040.00416.51
7.4.220.0060.00916.60
7.4.210.0070.01416.43
7.4.200.0000.00716.39
7.4.190.0000.00716.69
7.4.160.0120.00416.51
7.4.150.0180.00616.58
7.4.140.0060.01116.53
7.4.130.0040.01216.64
7.4.120.0140.00716.56
7.4.110.0100.01416.45
7.4.100.0170.00316.39
7.4.90.0130.00316.56
7.4.80.0060.01019.39
7.4.70.0090.00616.67
7.4.60.0140.00316.46
7.4.50.0120.00016.27
7.4.40.0140.00416.36
7.4.30.0130.00316.42
7.4.00.0080.00314.77
7.3.330.0000.00613.21
7.3.320.0040.00413.21
7.3.310.0030.00316.46
7.3.300.0030.00316.29
7.3.290.0040.01216.44
7.3.280.0120.00616.37
7.3.270.0080.00816.50
7.3.260.0120.01316.69
7.3.250.0100.01016.31
7.3.240.0110.01116.59
7.3.230.0090.00916.43
7.3.210.0160.00016.71
7.3.200.0000.01616.42
7.3.190.0070.01116.30
7.3.180.0130.00316.68
7.3.170.0170.00316.66
7.3.160.0070.01016.40
7.3.120.0000.01114.85
7.3.00.0090.00316.37
7.2.330.0130.01316.70
7.2.320.0060.00916.78
7.2.310.0190.00016.72
7.2.300.0060.01216.53
7.2.290.0000.01716.58
7.2.130.0060.00317.07
7.2.120.0060.00616.98
7.2.110.0060.00917.00
7.2.100.0030.00716.79
7.2.90.0030.01016.84
7.2.80.0000.00916.49
7.2.70.0030.01017.06
7.2.60.0030.01416.98
7.2.50.0060.00916.84
7.2.40.0060.00616.86
7.2.30.0070.00716.80
7.2.20.0100.00717.14
7.2.10.0000.01116.96
7.2.00.0040.00818.21
7.1.250.0030.01015.81
7.1.240.0170.00015.95
7.1.230.0060.00315.88
7.1.220.0120.00015.49
7.1.210.0030.00615.88
7.1.200.0080.00315.68
7.1.190.0030.01015.77
7.1.180.0110.00015.79
7.1.170.0100.00315.72
7.1.160.0000.01015.73
7.1.150.0030.00915.63
7.1.140.0070.00715.88
7.1.130.0030.00915.41
7.1.120.0030.00915.75
7.1.110.0070.00715.84
7.1.100.0020.00916.95
7.1.90.0040.01115.51
7.1.80.0100.00315.81
7.1.70.0050.01316.42
7.1.60.0090.00817.49
7.1.50.0070.01016.15
7.1.40.0000.00915.76
7.1.30.0000.01015.58
7.1.20.0070.00715.63
7.1.10.0030.00615.86
7.1.00.0040.03919.10
7.0.330.0030.00715.43
7.0.320.0050.00315.24
7.0.310.0000.01015.45
7.0.300.0060.00615.46
7.0.290.0040.00815.24
7.0.280.0030.00515.53
7.0.270.0000.01115.39
7.0.260.0100.00315.22
7.0.250.0000.01015.44
7.0.240.0040.00715.27
7.0.230.0050.00615.23
7.0.220.0030.00815.32
7.0.210.0030.00915.27
7.0.200.0030.00816.11
7.0.190.0120.00315.23
7.0.180.0030.00615.29
7.0.170.0000.00715.57
7.0.160.0000.01015.52
7.0.150.0030.00715.54
7.0.140.0040.03818.70
7.0.130.0040.00415.62
7.0.120.0050.03818.78
7.0.110.0030.00515.29
7.0.100.0110.00415.55
7.0.90.0080.00015.31
7.0.80.0080.00615.41
7.0.70.0060.00615.26
7.0.60.0130.03817.75
7.0.50.0070.04116.63
7.0.40.0050.05116.88
7.0.30.0230.03716.88
7.0.20.0150.03016.85
7.0.10.0060.03516.86
7.0.00.0050.05116.79
5.6.380.0000.01414.56
5.6.370.0040.00714.37
5.6.360.0070.00714.26
5.6.350.0060.00614.37
5.6.340.0040.00714.73
5.6.330.0100.00714.46
5.6.320.0030.01014.26
5.6.310.0070.00314.72
5.6.300.0040.00414.76
5.6.290.0000.01114.56
5.6.280.0070.03717.62
5.6.270.0030.01014.30
5.6.260.0030.01214.52
5.6.250.0000.01214.04
5.6.240.0090.00414.41
5.6.230.0100.00314.09
5.6.220.0100.00614.20
5.6.210.0050.05017.36
5.6.200.0070.04316.37
5.6.190.0120.04317.39
5.6.180.0200.02417.63
5.6.170.0120.03017.35
5.6.160.0070.04217.48
5.6.150.0020.02516.17
5.6.140.0060.04216.29
5.6.130.0070.03216.35
5.6.120.0050.03317.81
5.6.110.0060.05117.69
5.6.100.0050.03517.63
5.6.90.0000.02917.55
5.6.80.0050.04917.44
5.6.70.0040.00814.52
5.6.60.0080.00814.43
5.6.50.0030.00714.36
5.6.40.0060.00314.15
5.6.30.0070.00714.09
5.6.20.0060.00914.49
5.6.10.0040.00814.01
5.6.00.0040.00714.36
5.5.380.0030.00311.18
5.5.370.0030.00611.18
5.5.360.0030.00611.18
5.5.350.0130.01515.93
5.5.340.0090.04214.58
5.5.330.0080.02015.86
5.5.320.0260.03615.77
5.5.310.0150.02215.77
5.5.300.0030.04414.77
5.5.290.0070.02814.57
5.5.280.0050.04415.97
5.5.270.0030.02316.02
5.5.260.0040.02416.01
5.5.250.0070.04416.01
5.5.240.0030.04315.70
5.5.230.0000.00611.18
5.5.220.0000.00711.18
5.5.210.0080.00411.18
5.5.200.0000.00711.18
5.5.190.0050.00011.18
5.5.180.0070.00011.19
5.5.170.0070.00011.18
5.5.160.0000.01111.38
5.5.150.0030.00311.18
5.5.140.0030.00911.46
5.5.130.0030.00711.39
5.5.120.0030.00611.18
5.5.110.0000.00711.18
5.5.100.0060.00611.18
5.5.90.0030.00911.18
5.5.80.0000.00711.18
5.5.70.0070.00011.18
5.5.60.0030.00611.19
5.5.50.0040.00411.30
5.5.40.0060.00311.18
5.5.30.0030.00311.18
5.5.20.0040.00411.18
5.5.10.0000.00911.18
5.5.00.0040.00711.28
5.4.450.0050.02915.19
5.4.440.0060.02115.32
5.4.430.0100.02315.18
5.4.420.0050.04215.37
5.4.410.0030.03615.11
5.4.400.0050.03715.21
5.4.390.0110.02815.21
5.4.380.0040.03615.21
5.4.370.0050.02515.21
5.4.360.0060.03915.04
5.4.350.0040.02615.21
5.4.340.0050.02715.24
5.4.330.0050.00311.18
5.4.320.0020.02415.17
5.4.310.0000.02415.09
5.4.300.0030.02215.04
5.4.290.0040.02215.06
5.4.280.0030.04115.19
5.4.270.0050.03715.18
5.4.260.0070.01715.01
5.4.250.0070.03815.14
5.4.240.0050.01915.18
5.4.230.0030.02215.16
5.4.220.0020.04215.03
5.4.210.0060.02315.16
5.4.200.0040.01815.16
5.4.190.0040.02115.04
5.4.180.0050.02115.16
5.4.170.0080.01815.21
5.4.160.0070.02015.21
5.4.150.0030.02615.17
5.4.140.0020.02013.74
5.4.130.0070.01713.73
5.4.120.0050.02013.79
5.4.110.0050.01913.74
5.4.100.0000.02313.85
5.4.90.0060.01614.02
5.4.80.0050.02113.75
5.4.70.0050.01713.82
5.4.60.0000.02313.81
5.4.50.0050.01913.78
5.4.40.0000.02613.79
5.4.30.0070.01813.79
5.4.20.0000.02213.72
5.4.10.0020.02513.84
5.4.00.0000.02313.44
5.3.290.0030.02612.91
5.3.280.0010.04412.88
5.3.270.0050.02012.89
5.3.260.0090.01512.91
5.3.250.0010.02312.89
5.3.240.0020.02412.92
5.3.230.0020.02212.90
5.3.220.0020.02212.87
5.3.210.0100.01612.87
5.3.200.0020.02112.88
5.3.190.0060.01812.90
5.3.180.0050.02012.88
5.3.170.0010.02112.87
5.3.160.0030.02212.95
5.3.150.0030.02112.89
5.3.140.0040.02112.86
5.3.130.0020.02512.89
5.3.120.0060.01912.86
5.3.110.0020.02412.83
5.3.100.0080.01712.62
5.3.90.0020.02212.62
5.3.80.0020.02112.56
5.3.70.0060.01612.63
5.3.60.0030.01912.57
5.3.50.0040.01812.58
5.3.40.0020.02212.55
5.3.30.0030.02112.62
5.3.20.0060.01612.44
5.3.10.0050.01712.42
5.3.00.0030.02112.41
5.2.170.0000.01811.17
5.2.160.0040.01311.16
5.2.150.0040.01511.17
5.2.140.0070.01211.13
5.2.130.0000.01911.18
5.2.120.0020.01811.13
5.2.110.0000.01911.12
5.2.100.0050.02011.21
5.2.90.0020.02311.10
5.2.80.0020.03311.14
5.2.70.0010.02811.16
5.2.60.0050.02611.19
5.2.50.0070.03011.13
5.2.40.0020.03111.09
5.2.30.0060.02511.07
5.2.20.0070.03011.06
5.2.10.0030.03511.02
5.2.00.0090.02610.97
5.1.60.0040.02110.62
5.1.50.0040.02710.59
5.1.40.0040.01710.61
5.1.30.0010.01610.70
5.1.20.0030.03310.77
5.1.10.0050.02510.63
5.1.00.0020.02010.61
5.0.50.0020.02510.42
5.0.40.0030.02210.42
5.0.30.0020.02610.42
5.0.20.0080.01810.42
5.0.10.0050.02310.42
5.0.00.0000.02310.42
4.4.90.0030.01510.42
4.4.80.0050.01510.42
4.4.70.0030.01310.42
4.4.60.0070.01410.42
4.4.50.0020.02010.42
4.4.40.0040.02210.42
4.4.30.0000.01510.42
4.4.20.0020.02010.42
4.4.10.0030.01010.42
4.4.00.0020.01710.42
4.3.110.0030.02210.42
4.3.100.0050.01710.42
4.3.90.0020.01910.42
4.3.80.0000.03210.42
4.3.70.0020.01110.42
4.3.60.0020.01810.42
4.3.50.0020.01710.42
4.3.40.0030.02010.42
4.3.30.0020.01610.42
4.3.20.0000.01110.42
4.3.10.0020.01710.42
4.3.00.0030.01810.42

preferences:
46.73 ms | 401 KiB | 5 Q