3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vals = array('3','4','5'); array_reduce($vals, 'ctype_digit', false); array_reduce($vals, 'ctype_digit', true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sPmN9
function name:  (null)
number of ops:  12
compiled vars:  !0 = $vals
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'array_reduce'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'ctype_digit'
          4        SEND_VAL                                                 <false>
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'array_reduce'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 'ctype_digit'
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.11 ms | 1394 KiB | 15 Q