3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( 'db' => array ( 'from' => array ( 'SAVING_0', 'PPERS_0', 'SUPP_0' ), 'select' => array ( 'ORGSUPP' => NULL, 'UIDSUPP' => NULL, 'NAMSUPP' => NULL, 'UIDPPERS' => NULL, 'NAMPPERS' => NULL, 'REFSAVING' => NULL, 'MONTHSAVING' => NULL, 'YRSAVING' => NULL, 'INITAMOUNT' => NULL, 'NETSAVING' => NULL, 'ESTSAVING' => NULL, 'ESTIMATED' => NULL, 'SUPPLIER' => NULL, 'COMMENTS' => NULL, 'CREATED' => NULL, 'CREATEDDATE' => NULL, ), 'where' => array ( 'UIDSAVING' => '#UIDPPERS', 'ORGSUPP' => '#ORGPPERS', '#1.STATUS' => 'Y', '#2.STATUS' => 'Y', 'SAVING' => 'Y', ), 'filters' => NULL ), 'dynamic' => TRUE, 'editable' => TRUE, 'number' => NULL, 'title' => "Savings from the staff in the FP group.", 'subtitle' => NULL, 'num_columns' => 10, 'graph' => NULL, 'headers' => array ( array ( 'layout' => array ( 'ORGSUPP' => FALSE, 'UIDSUPP' => FALSE, 'NAMSUPP' => FALSE, 'UIDPPERS' => FALSE, 'NAMPPERS' => FALSE, 'REFSAVING' => array('class' => "text-center"), 'MONTHSAVING' => array('class' => "text-center"), 'YRSAVING' => array('class' => "text-center"), 'INITAMOUNT' => array('class' => "text-center"), 'NETSAVING' => array('class' => "text-center"), 'ESTSAVING' => array('class' => "text-center"), 'ESTIMATED' => array('class' => "text-center"), 'SUPPLIER' => array('class' => "text-center"), 'COMMENTS' => array('class' => "text-center"), 'CREATED' => array('class' => "text-center"), 'CREATEDDATE' => array('class' => "text-center"), ), 'data' => array ( 'REFSAVING' => "Order / contract ref.", 'MONTHSAVING' => "Month", 'YRSAVING' => "Year", 'INITAMOUNT' => "Initial Amount (CHF)", 'NETSAVING' => "Firm saving (CHF)", 'ESTSAVING' => "Estimated saving (CHF)", 'ESTIMATED' => "Is it estimated?", 'SUPPLIER' => "Supplier", 'COMMENTS' => "Comments", 'CREATED' => "Created by", 'CREATEDDATE' => "Date", ), ), ), 'body' => array ( 'layout' => array ( 'REFSAVING' => array('class' => "text-left no-wrap"), 'MONTHSAVING' => array('class' => "text-center no-wrap"), 'YRSAVING' => array('class' => "text-center no-wrap"), 'INITAMOUNT' => array('class' => "text-right no-wrap", 'data-format' => 'currency'), 'NETSAVING' => array('class' => "text-right no-wrap", 'data-format' => 'currency'), 'ESTSAVING' => array('class' => "text-right no-wrap", 'data-format' => ' currency'), 'ESTIMATED' => array('class' => "border-left border-right text-center"), 'SUPPLIER' => array('class' => "no-wrap"), 'COMMENTS' => array('class' => "text-min-width"), 'CREATED' => NULL, 'CREATEDDATE' => array('class' => "text-center no-wrap", 'data-format' => 'date'), ), 'format' => array ( 'MONTHSAVING' => 'format_date_month', 'YRSAVING' => 'format_date_year', 'INITAMOUNT' => array('format_french_number', 'format_no_decimals'), 'NETSAVING' => array('format_french_number', 'format_no_decimals'), 'ESTSAVING' => array('format_french_number', 'format_no_decimals'), 'CREATEDDATE' => 'format_date', ) ), 'footers' => array ( FALSE ), ); echo json_encode($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/778Ea
function name:  (null)
number of ops:  6
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
  118     1        INIT_FCALL                                               'json_encode'
          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:
147.62 ms | 1385 KiB | 15 Q