3v4l.org

run code in 300+ PHP versions simultaneously
<?php $region = 93; $cat = 'dacha'; $urls = ['1', '2', '3', 'abc']; $projects['realty' . $region . '_' . $cat . '_search.xml'] = [[ 'type' => 'urls', 'urls' => [ 'http://dacha.ngs93.ru/' => 1, 'http://dacha.ngs93.ru/sell/' => 0.9, 'http://dacha.ngs93.ru/buy/' => 0.3, 'http://dacha.ngs93.ru/rent_available/' => 0.9, 'http://dacha.ngs93.ru/rent_required/' => 0.3, ], ] ]; $project = &$projects['realty' . $region . '_' . $cat . '_search.xml']; var_export($project);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mO7rJ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $region, !1 = $cat, !2 = $urls, !3 = $projects, !4 = $project
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 93
    3     1        ASSIGN                                                   !1, 'dacha'
    4     2        ASSIGN                                                   !2, <array>
    5     3        CONCAT                                           ~8      'realty', !0
          4        CONCAT                                           ~9      ~8, '_'
          5        CONCAT                                           ~10     ~9, !1
          6        CONCAT                                           ~11     ~10, '_search.xml'
          7        ASSIGN_DIM                                               !3, ~11
    6     8        OP_DATA                                                  <array>
   16     9        CONCAT                                           ~13     'realty', !0
         10        CONCAT                                           ~14     ~13, '_'
         11        CONCAT                                           ~15     ~14, !1
         12        CONCAT                                           ~16     ~15, '_search.xml'
         13        FETCH_DIM_W                                      $17     !3, ~16
         14        ASSIGN_REF                                               !4, $17
   17    15        INIT_FCALL                                               'var_export'
         16        SEND_VAR                                                 !4
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.77 ms | 1395 KiB | 15 Q