3v4l.org

run code in 500+ 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:  5
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        FRAMELESS_ICALL_3                preg_replace        ~2      '%2F%5B%E2%98%80-%E2%9B%BF%F0%9F%98%80-%F0%9F%99%8F%5D%2Fu', 'YOINK'
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.4 ms | 2579 KiB | 13 Q