3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Regex for single and paired point unicode characters ranges: https://stackoverflow.com/q/51947319/6225838 $str = 'β˜€,β›Ώ,#⃣,πŸ˜€ ,πŸ™,⏳'; echo preg_replace('/[β˜€-β›ΏπŸ˜€-πŸ™]/u','YOINK',$str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uA3mD
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E2%98%80%2C%E2%9B%BF%2C%23%E2%83%A3%2C%F0%9F%98%80+%2C%F0%9F%99%8F%2C%E2%8F%B3'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%E2%98%80-%E2%9B%BF%F0%9F%98%80-%F0%9F%99%8F%5D%2Fu'
          3        SEND_VAL                                                 'YOINK'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.09 ms | 1408 KiB | 15 Q