Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
php_cli_ex [2011-10-24 13:42]
Joakim Forsgren created
php_cli_ex [2022-07-18 13:20] (current)
Line 36: Line 36:
 } }
 echo "\n"; echo "\n";
 +// För att läsa in en sträng utan radbrytning på slutet
 +$str = trim(fgets($handle));
 +echo $str;
 </code> </code>