3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '☀+☁️+❄️'; $m = array(); preg_match_all('#(?:(?!e|ln|(?<=l|si|ta)n|pi|(?<=p)i|abs|(?<=a)bs|(?<=ab|co)s|pow|(?<=p)ow|(?<=po)w|a?(?:sin|cos|tan)|(?<=s)in|(?<=c)os|(?<=t)an)[^0-9-+*/()x])+#', $str, $m); print_r($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RWAO4
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E2%98%80%2B%E2%98%81%EF%B8%8F%2B%E2%9D%84%EF%B8%8F'
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAL                                                 '%23%28%3F%3A%28%3F%21e%7Cln%7C%28%3F%3C%3Dl%7Csi%7Cta%29n%7Cpi%7C%28%3F%3C%3Dp%29i%7Cabs%7C%28%3F%3C%3Da%29bs%7C%28%3F%3C%3Dab%7Cco%29s%7Cpow%7C%28%3F%3C%3Dp%29ow%7C%28%3F%3C%3Dpo%29w%7Ca%3F%28%3F%3Asin%7Ccos%7Ctan%29%7C%28%3F%3C%3Ds%29in%7C%28%3F%3C%3Dc%29os%7C%28%3F%3C%3Dt%29an%29%5B%5E0-9-%2B%2A%2F%28%29x%5D%29%2B%23'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.66 ms | 1398 KiB | 17 Q