1
0
mirror of https://github.com/php/web-php.git synced 2026-03-30 03:02:13 +02:00
Files
archived-web-php/apachecon/s_lang6.php3
Rasmus Lerdorf 2424277ad8 Add main slides
1998-10-21 23:44:28 +00:00

19 lines
367 B
PHP
Executable File

<?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>
<?example('<?echo 5 + "1.5" + "10e2";?>')?>
<h6>Output:<blockquote>
<?echo 5 + "1.5" + "10e2";?>
</blockquote>
</h6>
<?php require "footer.inc"?>