1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Files
archived-php-src/ext/skeleton/tests/003.phpt
T
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

17 lines
254 B
PHP

--TEST--
%EXTNAME%_test2() Basic test
--SKIPIF--
<?php
if (!extension_loaded('%EXTNAME%')) {
echo 'skip';
}
?>
--FILE--
<?php
var_dump(%EXTNAME%_test2());
var_dump(%EXTNAME%_test2('PHP'));
?>
--EXPECT--
string(11) "Hello World"
string(9) "Hello PHP"