Differences
This shows you the differences between two versions of the page.
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 " | echo " | ||
+ | // För att läsa in en sträng utan radbrytning på slutet | ||
+ | $str = trim(fgets($handle)); | ||
+ | echo $str; | ||
</ | </ |