1--TEST-- 2SPL: Test class_implements() function : basic 3--FILE-- 4<?php 5echo "*** Testing class_implements() : basic ***\n"; 6 7 8interface foo { } 9class bar implements foo {} 10 11var_dump(class_implements(new bar)); 12var_dump(class_implements('bar')); 13 14 15?> 16--EXPECT-- 17*** Testing class_implements() : basic *** 18array(1) { 19 ["foo"]=> 20 string(3) "foo" 21} 22array(1) { 23 ["foo"]=> 24 string(3) "foo" 25} 26