3v4l.org

run code in 300+ PHP versions simultaneously
<?php $updates = [ "service" => "k", "price" => "85.0", "id" => "442" ]; //take the keys above and turn them into variables like the ones shown below $stmt->bind_param(str_repeat("s", count(updates)),$service,$price,$id);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9c15a
function name:  (null)
number of ops:  14
compiled vars:  !0 = $updates, !1 = $stmt, !2 = $service, !3 = $price, !4 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_METHOD_CALL                                         !1, 'bind_param'
          2        INIT_FCALL                                               'str_repeat'
          3        SEND_VAL                                                 's'
          4        FETCH_CONSTANT                                   ~6      'updates'
          5        COUNT                                            ~7      ~6
          6        SEND_VAL                                                 ~7
          7        DO_ICALL                                         $8      
          8        SEND_VAR_NO_REF_EX                                       $8
          9        SEND_VAR_EX                                              !2
         10        SEND_VAR_EX                                              !3
         11        SEND_VAR_EX                                              !4
         12        DO_FCALL                                      0          
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.53 ms | 1389 KiB | 16 Q