<?php /*=== playing with more PHP expressions run this using: php cli-expr-play.php ===*/ ?> PHP type of 42: <?= gettype(42) ?> <-- can you do this? <?= var_dump(42) ?> <-- PHP type of 4.2: <?= gettype(4.2) ?> <-- PHP type of "moo": <?= gettype("moo") ?> <-- PHP type of 'moo': <?= gettype('moo') ?> <-- PHP type of true: <?= gettype(true) ?> <-- Is 42 an int? <?= is_int(42) ?> <-- Is 4.2 an int? <?= is_int(4.2) ?> <-- Is 4.2 a float? <?= is_float(4.2) ?> <-- does is_double exist? <?= is_double(4.2) ?> <-- is true a bool? <?= is_bool(true) ?> <-- is "moo" a string? <?= is_string("moo") ?> <-- is 'moo' a string? <?= is_string('moo') ?> <-- <?php $welcome = "Hello!"; ?> Here is my greeting to you: <?= $welcome ?> !!