3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $toto = ";K16;K16;K16;NBPQ1DHS;XFPREXWI;\\Cib.net\ShareParis\Soft\Flux\Moniteur\Qual\000D06\ETAT_CM\Recv\[PARM];;;;;;ASCII;"; echo addslashes($toto); echo "\n"; echo str_replace('\\','\\\\',$toto);
based on EbJDt
Output for 4.3.0 - 4.3.8, 4.3.10 - 7.2.0
;K16;K16;K16;NBPQ1DHS;XFPREXWI;\\Cib.net\\ShareParis\\Soft\\Flux\\Moniteur\\Qual\0D06\\ETAT_CM\\Recv\\[PARM];;;;;;ASCII; ;K16;K16;K16;NBPQ1DHS;XFPREXWI;\\Cib.net\\ShareParis\\Soft\\Flux\\Moniteur\\QualD06\\ETAT_CM\\Recv\\[PARM];;;;;;ASCII;
Output for 4.3.9
;K16;K16;K16;NBPQ1DHS;XFPREXWI;\\Cib.net\\ShareParis\\Soft\\Flux\\Moniteur\\Qual\D06\\ETAT_CM\\Recv\\[PARM];;;;;;ASCII; ;K16;K16;K16;NBPQ1DHS;XFPREXWI;\\Cib.net\\ShareParis\\Soft\\Flux\\Moniteur\\QualD06\\ETAT_CM\\Recv\\[PARM];;;;;;ASCII;