1--TEST-- 2ReflectionClass::getProperties() - invalid arguments 3--CREDITS-- 4Robin Fernandes <robinf@php.net> 5Steve Seear <stevseea@php.net> 6--FILE-- 7<?php 8$rc = new ReflectionClass("ReflectionClass"); 9echo "\nTest invalid arguments:"; 10$rc->getProperties('X'); 11$rc->getProperties('X', true); 12?> 13--EXPECTF-- 14Test invalid arguments: 15Warning: ReflectionClass::getProperties() expects parameter 1 to be long, string given in %s on line 4 16 17Warning: ReflectionClass::getProperties() expects at most 1 parameter, 2 given in %s on line 5 18