3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nested = array( 'key' => 'val', 'key1' => array( 'subkey' => 'subval', 'subkey1' => 'subval1' ), 'key2' => array('a', 'b', 'c', 'd'), '2D_collection_5' => array( array( 'id' => 1, 'name' => 'lorem', 'categoryId' => 5, 'date' => '2013.07.08' ), array( 'id' => 2, 'name' => 'ipsum', 'categoryId' => 3, 'date' => '2013.07.07' ), array( 'id' => 5, 'name' => 'dolor', 'categoryId' => 1, 'date' => '2012.07.08' ), array( 'id' => 6, 'name' => 'sit', 'categoryId' => 3, 'date' => '2013.12.08' ), array( 'id' => 9, 'name' => 'amet', 'categoryId' => 5, 'date' => '2013.10.14' ) ), '2D_collection_5_named' => array( 'lorem' => array( 'id' => 17, 'name' => 'lorem', 'categoryId' => 5, 'date' => '2013.07.08' ), 'ipsum' => array( 'id' => 2, 'name' => 'ipsum', 'categoryId' => 3, 'date' => '2013.07.07' ), 'dolor' => array( 'id' => 5, 'name' => 'dolor', 'categoryId' => 1, 'date' => '2012.07.08' ), 'sit' => array( 'id' => 6, 'name' => 'sit', 'categoryId' => 3, 'date' => '2013.12.08' ), 'amet' => array( 'id' => 9, 'name' => 'amet', 'categoryId' => 5, 'date' => '2013.10.14' ) ), array('hhvm' => 'hack') ); echo http_build_query($nested);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5vqvZ
function name:  (null)
number of ops:  6
compiled vars:  !0 = $nested
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   78     1        INIT_FCALL                                               'http_build_query'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.26 ms | 1385 KiB | 15 Q