3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limit = [null, null]; var_dump(min($limit)); $limit = [null]; var_dump(min($limit)); $limit = [5]; var_dump(min($limit)); $limit = [5, null]; var_dump(min($limit)); $limit = [null, 5]; var_dump(min($limit));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NklUG
function name:  (null)
number of ops:  36
compiled vars:  !0 = $limit
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'min'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    6     7        ASSIGN                                                   !0, <array>
    7     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'min'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                                 
    9    14        ASSIGN                                                   !0, <array>
   10    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'min'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $8      
         19        SEND_VAR                                                 $8
         20        DO_ICALL                                                 
   12    21        ASSIGN                                                   !0, <array>
   13    22        INIT_FCALL                                               'var_dump'
         23        INIT_FCALL                                               'min'
         24        SEND_VAR                                                 !0
         25        DO_ICALL                                         $11     
         26        SEND_VAR                                                 $11
         27        DO_ICALL                                                 
   15    28        ASSIGN                                                   !0, <array>
   16    29        INIT_FCALL                                               'var_dump'
         30        INIT_FCALL                                               'min'
         31        SEND_VAR                                                 !0
         32        DO_ICALL                                         $14     
         33        SEND_VAR                                                 $14
         34        DO_ICALL                                                 
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.52 ms | 1396 KiB | 17 Q