3v4l.org

run code in 300+ PHP versions simultaneously
<?php function sourceForm($source_config) { $form = array(); $urlink1 = array('#type' => 'textfield', '#title' => t('URL'), '#description' => t('Enter a feed URL.'), '#default_value' => "https://api.edmunds.com/api/vehicle/v2/vins/", '#maxlength' => NULL, '#required' => TRUE); $urlkey2 = array('#type' => 'textfield', '#title' => t('VIN'), '#default_value' => "2G1FC3D33C9165616?fmt=json&api_key=dp9ghvr5sxrbmvupg2naccuk"); $form['source'] = array_merge($urlink1 , $urlkey2 ); return $form; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/neasr
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E > > RETURN                                                   1

Function sourceform:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/neasr
function name:  sourceForm
number of ops:  30
compiled vars:  !0 = $source_config, !1 = $form, !2 = $urlink1, !3 = $urlkey2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_ARRAY                                       ~5      'textfield', '%23type'
    5     3        INIT_FCALL_BY_NAME                                       't'
          4        SEND_VAL_EX                                              'URL'
          5        DO_FCALL                                      0  $6      
          6        ADD_ARRAY_ELEMENT                                ~5      $6, '%23title'
    6     7        INIT_FCALL_BY_NAME                                       't'
          8        SEND_VAL_EX                                              'Enter+a+feed+URL.'
          9        DO_FCALL                                      0  $7      
         10        ADD_ARRAY_ELEMENT                                ~5      $7, '%23description'
    7    11        ADD_ARRAY_ELEMENT                                ~5      'https%3A%2F%2Fapi.edmunds.com%2Fapi%2Fvehicle%2Fv2%2Fvins%2F', '%23default_value'
    4    12        ADD_ARRAY_ELEMENT                                ~5      null, '%23maxlength'
         13        ADD_ARRAY_ELEMENT                                ~5      <true>, '%23required'
         14        ASSIGN                                                   !2, ~5
   10    15        INIT_ARRAY                                       ~9      'textfield', '%23type'
   11    16        INIT_FCALL_BY_NAME                                       't'
         17        SEND_VAL_EX                                              'VIN'
         18        DO_FCALL                                      0  $10     
         19        ADD_ARRAY_ELEMENT                                ~9      $10, '%23title'
   12    20        ADD_ARRAY_ELEMENT                                ~9      '2G1FC3D33C9165616%3Ffmt%3Djson%26api_key%3Ddp9ghvr5sxrbmvupg2naccuk', '%23default_value'
   10    21        ASSIGN                                                   !3, ~9
   13    22        INIT_FCALL                                               'array_merge'
         23        SEND_VAR                                                 !2
         24        SEND_VAR                                                 !3
         25        DO_ICALL                                         $13     
         26        ASSIGN_DIM                                               !1, 'source'
         27        OP_DATA                                                  $13
   15    28      > RETURN                                                   !1
   16    29*     > RETURN                                                   null

End of function sourceform

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.37 ms | 1396 KiB | 15 Q