3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(preg_replace("/^.+/", '', " Письма на деревню дедушке. Мэр Донецка не видит толку от обещаний Тимошенко сепаратистам 23.04.2014 13:55. Просмотрено 2304 раза. За сегодня — 2304 раза. ")); function removeUnicodeSequences($struct) { return preg_replace("/\\\\u([a-f0-9]{4})/e", "iconv('UCS-4LE','UTF-8',pack('V', hexdec('U$1')))", $struct); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yg0U3
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%5E.%2B%2F'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 '%0A%D0%9F%D0%B8%D1%81%D1%8C%D0%BC%D0%B0+%D0%BD%D0%B0+%D0%B4%D0%B5%D1%80%D0%B5%D0%B2%D0%BD%D1%8E+%D0%B4%D0%B5%D0%B4%D1%83%D1%88%D0%BA%D0%B5.+%D0%9C%D1%8D%D1%80+%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B0+%D0%BD%D0%B5+%D0%B2%D0%B8%D0%B4%D0%B8%D1%82+%D1%82%D0%BE%D0%BB%D0%BA%D1%83+%D0%BE%D1%82+%D0%BE%D0%B1%D0%B5%D1%89%D0%B0%D0%BD%D0%B8%D0%B9+%D0%A2%D0%B8%D0%BC%D0%BE%D1%88%D0%B5%D0%BD%D0%BA%D0%BE+%D1%81%D0%B5%D0%BF%D0%B0%D1%80%D0%B0%D1%82%D0%B8%D1%81%D1%82%D0%B0%D0%BC+23.04.2014+13%3A55.+%D0%9F%D1%80%D0%BE%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D0%BD%D0%BE+2304+%D1%80%D0%B0%D0%B7%D0%B0.+%D0%97%D0%B0+%D1%81%D0%B5%D0%B3%D0%BE%D0%B4%D0%BD%D1%8F+%E2%80%94+2304+%D1%80%D0%B0%D0%B7%D0%B0.+'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
   11     6      > RETURN                                                   1

Function removeunicodesequences:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yg0U3
function name:  removeUnicodeSequences
number of ops:  8
compiled vars:  !0 = $struct
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
   10     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5C%5Cu%28%5Ba-f0-9%5D%7B4%7D%29%2Fe'
          3        SEND_VAL                                                 'iconv%28%27UCS-4LE%27%2C%27UTF-8%27%2Cpack%28%27V%27%2C+hexdec%28%27U%241%27%29%29%29'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
   11     7*     > RETURN                                                   null

End of function removeunicodesequences

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.9 ms | 1387 KiB | 15 Q