3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = mb_ereg_match("♥", "I $♥ PHP"); // returns true
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9qjnn
function name:  (null)
number of ops:  9
compiled vars:  !0 = $test, !1 = $♥
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_ereg_match'
          1        SEND_VAL                                                 '%E2%99%A5'
          2        ROPE_INIT                                     3  ~3      'I+'
          3        ROPE_ADD                                      1  ~3      ~3, !1
          4        ROPE_END                                      2  ~2      ~3, '+PHP'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !0, $5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
284.04 ms | 1394 KiB | 16 Q