repl.it
@FifiLulu/

PHP quotes solution

PHP Web Server

No description

fork
loading
Files
  • index.php
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
<pre>
<?php
$a = 1234.56;

// Display a=1234.56 using single quotes
echo 'a='.$a.PHP_EOL;

// Display a=1234.56 using double quotes
echo "a=$a\n";
?>
<!-- Display a=1324.56 outside PHP script -->
a=<?= $a ?>
</pre>
Fetching token
?