3v4l.org

run code in 300+ PHP versions simultaneously
<?php print array( 'conditions' => array( 'OR' => array( 'Event.active' => 1, 'Event.date >=' => date('Y-m-d'), ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NROJu
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_ARRAY                                       ~0      1, 'Event.active'
    7     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d'
          3        DO_ICALL                                         $1      
          4        ADD_ARRAY_ELEMENT                                ~0      $1, 'Event.date+%3E%3D'
          5        INIT_ARRAY                                       ~2      ~0, 'OR'
          6        INIT_ARRAY                                       ~3      ~2, 'conditions'
          7        ECHO                                                     ~3
   10     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.99 ms | 1393 KiB | 15 Q