3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'небезнадёжен 😂🤓:https://vk.c'; // Match Emoticons $regexEmoticons = '/[\x{1F600}-\x{1F64F}]/u'; $str = preg_replace($regexEmoticons, '', $str); // Match Miscellaneous Symbols and Pictographs $regexSymbols = '/[\x{1F300}-\x{1F5FF}]/u'; $str = preg_replace($regexSymbols, '', $str); // Match Transport And Map Symbols $regexTransport = '/[\x{1F680}-\x{1F6FF}]/u'; $str = preg_replace($regexTransport, '', $str); // Match Miscellaneous Symbols $regexMisc = '/[\x{2600}-\x{26FF}]/u'; $str = preg_replace($regexMisc, '', $str); // Match Dingbats $regexDingbats = '/[\x{2700}-\x{27BF}]/u'; $str = preg_replace($regexDingbats, '', $str); var_dump($str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0tD4m
function name:  (null)
number of ops:  40
compiled vars:  !0 = $str, !1 = $regexEmoticons, !2 = $regexSymbols, !3 = $regexTransport, !4 = $regexMisc, !5 = $regexDingbats
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%BD%D0%B5%D0%B1%D0%B5%D0%B7%D0%BD%D0%B0%D0%B4%D1%91%D0%B6%D0%B5%D0%BD+%F0%9F%98%82%F0%9F%A4%93%3Ahttps%3A%2F%2Fvk.c'
    6     1        ASSIGN                                                   !1, '%2F%5B%5Cx%7B1F600%7D-%5Cx%7B1F64F%7D%5D%2Fu'
    7     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $8      
          7        ASSIGN                                                   !0, $8
   10     8        ASSIGN                                                   !2, '%2F%5B%5Cx%7B1F300%7D-%5Cx%7B1F5FF%7D%5D%2Fu'
   11     9        INIT_FCALL                                               'preg_replace'
         10        SEND_VAR                                                 !2
         11        SEND_VAL                                                 ''
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $11     
         14        ASSIGN                                                   !0, $11
   14    15        ASSIGN                                                   !3, '%2F%5B%5Cx%7B1F680%7D-%5Cx%7B1F6FF%7D%5D%2Fu'
   15    16        INIT_FCALL                                               'preg_replace'
         17        SEND_VAR                                                 !3
         18        SEND_VAL                                                 ''
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $14     
         21        ASSIGN                                                   !0, $14
   18    22        ASSIGN                                                   !4, '%2F%5B%5Cx%7B2600%7D-%5Cx%7B26FF%7D%5D%2Fu'
   19    23        INIT_FCALL                                               'preg_replace'
         24        SEND_VAR                                                 !4
         25        SEND_VAL                                                 ''
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $17     
         28        ASSIGN                                                   !0, $17
   22    29        ASSIGN                                                   !5, '%2F%5B%5Cx%7B2700%7D-%5Cx%7B27BF%7D%5D%2Fu'
   23    30        INIT_FCALL                                               'preg_replace'
         31        SEND_VAR                                                 !5
         32        SEND_VAL                                                 ''
         33        SEND_VAR                                                 !0
         34        DO_ICALL                                         $20     
         35        ASSIGN                                                   !0, $20
   25    36        INIT_FCALL                                               'var_dump'
         37        SEND_VAR                                                 !0
         38        DO_ICALL                                                 
         39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.87 ms | 1396 KiB | 17 Q