fork(3) download
  1. <?php
  2. $s = "this is string data type"; // string
  3. echo $s."\n";
  4. $i = 10; // integer
  5. echo $i."\n";
  6. $f = 1.3; // $foo is now a float (3.3)
  7. echo $f."\n";
  8. $con_i = 10+ "10 Little Piggies"; // integer
  9. echo $con_i."\n";
  10. ?>
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
this is string data type
10
1.3
20