3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '#Новости_0629 #Мариуполь #митинг #война Подробнее: http://www.0629.com.ua/news/488931'; $t_full = "В 14.00 возле горсовета собрались сотни людей, которые выступают за единую Украину и против ввода российских вой..."; $description_text_lenght = 200 - strlen($t); $full_text = mb_substr($t_full , 0, $description_text_lenght) . $t; var_dump( array($full_text,mb_substr($t, 0,1,'UTF-8'),iconv_strlen($t,'UTF-8'),strlen($t)) );
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/D1aCQ
function name:  (null)
number of ops:  31
compiled vars:  !0 = $t, !1 = $t_full, !2 = $description_text_lenght, !3 = $full_text
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '%23%D0%9D%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8_0629+%23%D0%9C%D0%B0%D1%80%D0%B8%D1%83%D0%BF%D0%BE%D0%BB%D1%8C+%23%D0%BC%D0%B8%D1%82%D0%B8%D0%BD%D0%B3+%23%D0%B2%D0%BE%D0%B9%D0%BD%D0%B0+%D0%9F%D0%BE%D0%B4%D1%80%D0%BE%D0%B1%D0%BD%D0%B5%D0%B5%3A+http%3A%2F%2Fwww.0629.com.ua%2Fnews%2F488931'
   3     1        ASSIGN                                                   !1, '%D0%92+14.00+%D0%B2%D0%BE%D0%B7%D0%BB%D0%B5+%D0%B3%D0%BE%D1%80%D1%81%D0%BE%D0%B2%D0%B5%D1%82%D0%B0+%D1%81%D0%BE%D0%B1%D1%80%D0%B0%D0%BB%D0%B8%D1%81%D1%8C+%D1%81%D0%BE%D1%82%D0%BD%D0%B8+%D0%BB%D1%8E%D0%B4%D0%B5%D0%B9%2C+%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5+%D0%B2%D1%8B%D1%81%D1%82%D1%83%D0%BF%D0%B0%D1%8E%D1%82+%D0%B7%D0%B0+%D0%B5%D0%B4%D0%B8%D0%BD%D1%83%D1%8E+%D0%A3%D0%BA%D1%80%D0%B0%D0%B8%D0%BD%D1%83+%D0%B8+%D0%BF%D1%80%D0%BE%D1%82%D0%B8%D0%B2+%D0%B2%D0%B2%D0%BE%D0%B4%D0%B0+%D1%80%D0%BE%D1%81%D1%81%D0%B8%D0%B9%D1%81%D0%BA%D0%B8%D1%85+%D0%B2%D0%BE%D0%B9...'
   5     2        STRLEN                                           ~6      !0
         3        SUB                                              ~7      200, ~6
         4        ASSIGN                                                   !2, ~7
   7     5        INIT_FCALL                                               'mb_substr'
         6        SEND_VAR                                                 !1
         7        SEND_VAL                                                 0
         8        SEND_VAR                                                 !2
         9        DO_ICALL                                         $9      
        10        CONCAT                                           ~10     $9, !0
        11        ASSIGN                                                   !3, ~10
   9    12        INIT_FCALL                                               'var_dump'
  10    13        INIT_ARRAY                                       ~12     !3
        14        INIT_FCALL                                               'mb_substr'
        15        SEND_VAR                                                 !0
        16        SEND_VAL                                                 0
        17        SEND_VAL                                                 1
        18        SEND_VAL                                                 'UTF-8'
        19        DO_ICALL                                         $13     
        20        ADD_ARRAY_ELEMENT                                ~12     $13
        21        INIT_FCALL                                               'iconv_strlen'
        22        SEND_VAR                                                 !0
        23        SEND_VAL                                                 'UTF-8'
        24        DO_ICALL                                         $14     
        25        ADD_ARRAY_ELEMENT                                ~12     $14
        26        STRLEN                                           ~15     !0
        27        ADD_ARRAY_ELEMENT                                ~12     ~15
        28        SEND_VAL                                                 ~12
        29        DO_ICALL                                                 
        30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0