1
0
mirror of https://github.com/php/web-php.git synced 2026-03-31 19:52:29 +02:00
Files
archived-web-php/oreilly99/s_lang6.php3
1999-08-21 16:11:20 +00:00

17 lines
355 B
PHP

<?php require "header.inc"?>
<h2>Basic data types</h2>
<ul>
<li>numbers (integer and real)
<li>strings
<li>booleans
</ul>
<h2>Dynamic typing</h2>
<ul>
<li>Don't have to declare types
<li>Automatic conversion done
</ul>
<?php example('<?php echo 5 + "1.5" + "10e2"; ?>')?>
<h2>Output:</h2>
<?php output(5 + "1.5" + "10e2"); ?>
<?php require "footer.inc"?>