3v4l.org

run code in 300+ PHP versions simultaneously
<?php $blocks = [ [ 'id' => 1 , "max-width" => 60, "max-height" => 50, "offset-right" => 7, "offset-left" => null, "offset-top" => 16, "background-color" => null, "background-transparent" => true, "items" => [ [ "id" => 1, "item-type" => 1, "title" => "PRE 420 Extravaganza!", "font-size" => 6.6, "font-color" => "#ffffff", "background-color" => null, "background-transparent" => true, "margin-top" => 0, "margin-left" => 0, "link" => false, "hidden" => false, "disposable" => false, ], [ "id" => 2, "item-type" => 2, "title" => "why wait for big savings?", "font-size" => 1.3, "font-color" => "#586e80", "background-color" => "#f0eee1", "background-transparent" => false, "margin-top" => 2, "margin-left" => 0, "link" => false, "hidden" => false, "disposable" => true, ], [ "id" => 3, "item-type" => 3, "title" => "Selected concentrates on sale for $35 each<br>Recreational Specials All prices plus tax.<br>Valid 3.24.16 – 3.31.16.<br>Excusions apply", "font-size" => 3.2, "font-color" => "#ffffff", "background-color" => null, "background-transparent" => true, "margin-top" => 1, "margin-left" => 0, "link" => false, "hidden" => false, "disposable" => false, ], [ "id" => 4, "item-type" => 4, "title" => "Buy now →", "font-size" => 10, "font-color" => "#63a748", "background-color" => null, "background-transparent" => true, "margin-top" => 2.5, "margin-left" => 0, "link" => true, "hidden" => false, "disposable" => false, ], ] ], ]; echo json_encode($blocks, JSON_PRETTY_PRINT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VF2De
function name:  (null)
number of ops:  7
compiled vars:  !0 = $blocks
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   76     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 128
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.5 ms | 1393 KiB | 15 Q