1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
--TEST-- %EXTNAME%_test1() Basic test --SKIPIF-- <?php if (!extension_loaded('%EXTNAME%')) { echo 'skip'; } ?> --FILE-- <?php $ret = %EXTNAME%_test1(); var_dump($ret); ?> --EXPECT-- The extension %EXTNAME% is loaded and working! NULL