Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

String Length, Array in PHP

  1. <?php
  2. echo strlen("Hello world!");
  3.  
  4. $a[] = {'one', 'two', 'three', 'four'};
  5.  
  6. for($i = 0;$i<4;$i++)
  7. echo $a[$i] ;
  8. ?>
  9. // even you can use html inside the double quotes