3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fromData=array('id' => '004','shapeid' => 'circle','x' =>'360','y' => '560', 'tooltext' => 'vivek','labelpos' => 'bottom'); $ToData=array('id' => '005','shapeid' => 'triangle','x' =>'480','y' => '980', 'tooltext' => 'kimi','labelpos' => 'top'); $result[] = $fromData; $result[] = $ToData; print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0QR56
function name:  (null)
number of ops:  10
compiled vars:  !0 = $fromData, !1 = $ToData, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    7     2        ASSIGN_DIM                                               !2
          3        OP_DATA                                                  !0
    8     4        ASSIGN_DIM                                               !2
          5        OP_DATA                                                  !1
   10     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.38 ms | 1003 KiB | 14 Q