1--TEST-- 2Bug #68479 (Escape parameter missing from SplFileObject::fputcsv) 3--FILE-- 4<?php 5 6$method = new ReflectionMethod('SplFileObject', 'fputcsv'); 7$params = $method->getParameters(); 8var_dump($params); 9 10?> 11===DONE=== 12--EXPECT-- 13array(4) { 14 [0]=> 15 object(ReflectionParameter)#2 (1) { 16 ["name"]=> 17 string(6) "fields" 18 } 19 [1]=> 20 object(ReflectionParameter)#3 (1) { 21 ["name"]=> 22 string(9) "delimiter" 23 } 24 [2]=> 25 object(ReflectionParameter)#4 (1) { 26 ["name"]=> 27 string(9) "enclosure" 28 } 29 [3]=> 30 object(ReflectionParameter)#5 (1) { 31 ["name"]=> 32 string(6) "escape" 33 } 34} 35===DONE=== 36