1--TEST-- 2Bug #60201 (SplFileObject::setCsvControl does not expose third argument via Reflection) 3--FILE-- 4<?php 5 6$method = new ReflectionMethod('SplFileObject', 'setCsvControl'); 7$params = $method->getParameters(); 8var_dump($params); 9 10?> 11--EXPECTF-- 12array(3) { 13 [0]=> 14 object(ReflectionParameter)#%d (1) { 15 ["name"]=> 16 string(9) "separator" 17 } 18 [1]=> 19 object(ReflectionParameter)#%d (1) { 20 ["name"]=> 21 string(9) "enclosure" 22 } 23 [2]=> 24 object(ReflectionParameter)#%d (1) { 25 ["name"]=> 26 string(6) "escape" 27 } 28} 29