[ create a new paste ] login | about

Link: http://codepad.org/rqbI5NNg    [ raw code | output | fork ]

PHP, pasted on Jan 30:
1
2
3
4
5
<?php 
$string = '\012abc\011 & i=12';
 $output = str_ireplace (array('\012','\011'),array("\n","\t"), $string);
echo $output;
?>


Output:
1
2

abc	 & i=12


Create a new paste based on this one


Comments: