Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/standard/tests/array/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/standard/tests/array/next_basic.phpt |
--TEST-- Test next() function : basic functionality --FILE-- <?php /* Prototype : mixed next(array $array_arg) * Description: Move array argument's internal pointer to the next element and return it * Source code: ext/standard/array.c */ /* * Test basic functionality of next() */ echo "*** Testing next() : basic functionality ***\n"; $array = array('zero', 'one', 'two'); echo key($array) . " => " . current($array) . "\n"; var_dump(next($array)); echo key($array) . " => " . current($array) . "\n"; var_dump(next($array)); echo key($array) . " => " . current($array) . "\n"; var_dump(next($array)); ?> ===DONE=== --EXPECTF-- *** Testing next() : basic functionality *** 0 => zero string(3) "one" 1 => one string(3) "two" 2 => two bool(false) ===DONE===
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare