3v4l.org

run code in 300+ PHP versions simultaneously
<?php $blockTimes = array(20,20,20,20,20,20); $totalTimes = array(100,100,100,100,100,100); $totalBlocked = array_map(function($a, $b) {$a / $b;}, $blockTimes, $totalTimes); var_dump($totalBlocked); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I0CYi
function name:  (null)
number of ops:  13
compiled vars:  !0 = $blockTimes, !1 = $totalTimes, !2 = $totalBlocked
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'array_map'
          3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FI0CYi%3A5%240'
          4        SEND_VAL                                                 ~5
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
    8    12      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FI0CYi%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I0CYi
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        DIV                                              ~2      !0, !1
          3        FREE                                                     ~2
          4      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FI0CYi%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.24 ms | 1395 KiB | 17 Q