3v4l.org

run code in 300+ PHP versions simultaneously
<?php $note = "センター断裁\\r\\n工場出力不可"; $arr_note = str_replace(array('\r\n', '\r'),'\n', $note); $arr_note = explode('\n', $arr_note); print_r( $note ); print_r( $arr_note );
Output for git.master_jit, git.master
センター断裁\r\n工場出力不可Array ( [0] => センター断裁 [1] => 工場出力不可 )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
18.62 ms | 405 KiB | 5 Q