кажеться более удобной реализацией))
                  
                  
                  
                  
                  
                  
                  
                  
                  <?php
                  
                  
                  $text = 'http://site.com|11|22|BLABLA
                  
                  
                  BLOB
                  
                  
                  BLEB
                  
                  
                  BLU 77
                  
                  
                  http://site2.com|11|222|BLABLA  455
                  
                  
                  http://site3.com|161|2ww2|BLABLA 4
                  
                  
                  http://site4.com|1551|22|BLABLA2
                  
                  
                  BLOPP
                  
                  
                  BKII
                  
                  
                  JIUE UHUI
                  
                  
                  33 hh
                  
                  
                  http://site54.com|15v51|282|BLA57BLA2 44';
                  
                  
                  
                  
                  
                  print_r(json_decode(json_encode($text) , true)); ?>
                  
                  
                
гениально. $a = $a +1 - 1;
Данный пример выведет тот же самый текст.
Обсуждают сегодня