3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'небезнадёжен 😂🤓:https://vk.c'; $string = preg_replace('/[\x{1F600}-\x{1F64F}\x{1F300}-\x{1F5FF}\x{1F680}-\x{1F6FF}\x{2600}-\x{26FF}\x{2700}-\x{27BF}]+/u', '', $string); var_dump($string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NnrDM
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string
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'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5Cx%7B1F600%7D-%5Cx%7B1F64F%7D%5Cx%7B1F300%7D-%5Cx%7B1F5FF%7D%5Cx%7B1F680%7D-%5Cx%7B1F6FF%7D%5Cx%7B2600%7D-%5Cx%7B26FF%7D%5Cx%7B2700%7D-%5Cx%7B27BF%7D%5D%2B%2Fu'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    7     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.47 ms | 1398 KiB | 17 Q