1
0
mirror of https://github.com/php/web-php.git synced 2026-03-31 03:32:23 +02:00
Files
archived-web-php/oz/s_lang7.php3
2000-03-08 02:10:21 +00:00

20 lines
432 B
PHP

<?php require "header.inc"?>
<h2>Arrays</h2>
<h3>Ordered arrays</h3>
<?example('<?php
$a[0] = 1;
$a[1] = "foo";
$a[] = 1.57;
?>'); ?>
<h3>Associative arrays</h3>
<?example('<?php
$catch_it[\'cat\'] = "mouse";
$catch_it[\'dog\'] = "cat";
?>');?>
<h3>Manipulating</h3>
<ul>
<li><B>Sorting:</B> sort(), rsort(), ksort(), usort()
<li><B>Traversal:</B> reset(), end(), next(), each(), current(), key()
</ul>
<?php require "footer.inc"?>