3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = ['CATS','DOGS']; if(in_array(0, $array) === true){ echo "found zero!\n"; } var_dump(DateTime::ISO8601,DateTime::ATOM,date(DateTime::ISO8601,0),date(DateTime::ATOM,0));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/B0Jqh
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        FRAMELESS_ICALL_2                in_array            ~2      0, !0
          2        TYPE_CHECK                                        8          ~2
          3      > JMPZ                                                         ~3, ->5
    5     4    >   ECHO                                                         'found+zero%21%0A'
    7     5    >   INIT_FCALL                                                   'var_dump'
          6        SEND_VAL                                                     'Y-m-d%5CTH%3Ai%3AsO'
          7        SEND_VAL                                                     'Y-m-d%5CTH%3Ai%3AsP'
          8        INIT_FCALL                                                   'date'
          9        SEND_VAL                                                     'Y-m-d%5CTH%3Ai%3AsO'
         10        SEND_VAL                                                     0
         11        DO_ICALL                                             $4      
         12        SEND_VAR                                                     $4
         13        INIT_FCALL                                                   'date'
         14        SEND_VAL                                                     'Y-m-d%5CTH%3Ai%3AsP'
         15        SEND_VAL                                                     0
         16        DO_ICALL                                             $5      
         17        SEND_VAR                                                     $5
         18        DO_ICALL                                                     
         19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
176 ms | 2213 KiB | 15 Q