3v4l.org

run code in 300+ PHP versions simultaneously
<?php function floormap_schema(){ $schema['floormap_images'] = array ( 'description' => 'Floor map images.', 'fields' => array ( 'image' => array('type' => 'blob', 'not null' => TRUE,), 'name' => array( 'type' => 'varchar', 'length' => 30, 'not null' => TRUE,), 'active' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE,), ), 'unique keys' => array('name' => array('name'), ), ); $schema['floormap_coords'] = array ( 'description' => 'Floor map images.', 'fields' => array ( 'uid' => array( 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE,), 'floormap' => array( 'type' => 'text', 'not null' => TRUE,), 'item_type' => array( 'type' => 'text', 'not null' => TRUE,), 'pos_a_x' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE,), 'pos_a_y' => array( 'type' => 'int', 'unsiged' => TRUE, 'not null' => TRUE,), 'pos_b_x' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE,), 'pos_b_y' => array( 'type' => 'int', 'unsiged' => TRUE, 'not null' => TRUE,), 'pos_c_x' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE,), 'pos_c_y' => array( 'type' => 'int', 'unsiged' => TRUE,' not null' => TRUE,), 'pos_d_x' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE,), 'pos_d_y' => array('type' => 'int', 'unsiged' => TRUE, 'not null' => TRUE,), ), 'unique keys' => array('uid' => array('uid'),), ); return $schema; } print_r(floormap_schema());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UVPR3
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   33     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'floormap_schema'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function floormap_schema:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UVPR3
function name:  floormap_schema
number of ops:  6
compiled vars:  !0 = $schema
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'floormap_images'
    4     1        OP_DATA                                                  <array>
   13     2        ASSIGN_DIM                                               !0, 'floormap_coords'
   14     3        OP_DATA                                                  <array>
   30     4      > RETURN                                                   !0
   31     5*     > RETURN                                                   null

End of function floormap_schema

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.85 ms | 1401 KiB | 16 Q