fork download
  1. <?php
  2. $cel="56974269528";
  3. $fix=$cel."::I-Technology,".$cel."::Camino_del_Solar";
  4. $buscar=$cel."::Camino_del_Solar,".$cel."::I-Technology";
  5. $data="56974269528::Camino_del_Solar,56974269528::I-Technology,";
  6. echo $data;
  7. echo PHP_EoL;
  8. $data2=explode(",",$data,3);
  9. if($data2[0].",".$data2[1]==$buscar){
  10. $data=$fix.",".$data2[2];
  11. }
  12.  
  13. echo $data;
  14.  
  15.  
Success #stdin #stdout #stderr 0.04s 25824KB
stdin
Standard input is empty
stdout
56974269528::Camino_del_Solar,56974269528::I-Technology,PHP_EoL56974269528::I-Technology,56974269528::Camino_del_Solar,
stderr
PHP Warning:  Use of undefined constant PHP_EoL - assumed 'PHP_EoL' (this will throw an Error in a future version of PHP) in /home/J0D2MN/prog.php on line 7