3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ (object) ['program_title' => 'Hello – Aujourd’hui'] ]; print_r(array_filter($a, function ($i) { return preg_match('~Hello . Aujourd.hui~u', $i->program_title); }));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xe0Rg
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   CAST                                          8  ~1      <array>
          1        INIT_ARRAY                                       ~2      ~1
    3     2        ASSIGN                                                   !0, ~2
    7     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_filter'
          5        SEND_VAR                                                 !0
          6        DECLARE_LAMBDA_FUNCTION                          ~4      [0]
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xe0Rg
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%7EHello+.+Aujourd.hui%7Eu'
          3        FETCH_OBJ_R                                      ~1      !0, 'program_title'
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6      > RETURN                                                   $2
          7*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.12 ms | 1447 KiB | 16 Q