1--TEST--
2ReflectionParameter::isDefaultValueAvailable() should also work for parameters of internal functions
3--FILE--
4<?php
5$class = new ReflectionClass('DateTime');
6$method = $class->getMethod('setTime');
7
8foreach ($method->getParameters() as $parameter) {
9    var_dump($parameter->isDefaultValueAvailable());
10}
11
12echo "----------\n";
13
14$class = new ReflectionClass('DateTimeZone');
15$method = $class->getMethod('listIdentifiers');
16
17foreach ($method->getParameters() as $parameter) {
18    var_dump($parameter->isDefaultValueAvailable());
19}
20?>
21--EXPECT--
22bool(false)
23bool(false)
24bool(true)
25bool(true)
26----------
27bool(true)
28bool(true)
29