mirror of
https://github.com/php/web-php.git
synced 2026-03-31 03:32:23 +02:00
16 lines
338 B
PHP
16 lines
338 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"; ?>')?>
|
|
<?php output(5 + "1.5" + "10e2"); ?>
|
|
<?php require "footer.inc"?>
|