1
0
mirror of https://github.com/php/web-php.git synced 2026-03-31 11:42:09 +02:00
Files
archived-web-php/als99/s_lang6.php3

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"?>