3v4l.org

run code in 500+ PHP versions simultaneously
<?php $visits = array ( 0 => (object)array ( 'ID' => 5384, 'post_title' => 'AccordeonmeconjQuery', 'post_name' => 'accordeon-con-jquery', 'readings' => 55140, 'post_date' => '01-12-2012', 'media' => 59.546436285097, 'dias' => 926 ), 2 => (object)array ( 'ID' => 2509, 'post_title' => 'PopupmeconjQuery', 'post_name' => 'popup-me-con-jquery', 'readings' => 26261, 'post_date' => '13-04-2012', 'media' => 22.677892918826, 'dias' => 1158 ) ); print_r($visits); $visits = json_decode(json_encode($visits), true); print_r($visits); $visits = json_decode(json_encode($visits)); print_r($visits); $visits = (array)$visits; print_r($visits);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cCfeY
function name:  (null)
number of ops:  35
compiled vars:  !0 = $visits
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   CAST                                              8  ~1      <array>
          1        INIT_ARRAY                                           ~2      ~1, 0
          2        CAST                                              8  ~3      <array>
          3        ADD_ARRAY_ELEMENT                                    ~2      ~3, 2
    3     4        ASSIGN                                                       !0, ~2
   26     5        INIT_FCALL                                                   'print_r'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                                     
   28     8        INIT_FCALL                                                   'json_decode'
          9        INIT_FCALL                                                   'json_encode'
         10        SEND_VAR                                                     !0
         11        DO_ICALL                                             $6      
         12        SEND_VAR                                                     $6
         13        SEND_VAL                                                     <true>
         14        DO_ICALL                                             $7      
         15        ASSIGN                                                       !0, $7
   30    16        INIT_FCALL                                                   'print_r'
         17        SEND_VAR                                                     !0
         18        DO_ICALL                                                     
   32    19        INIT_FCALL                                                   'json_decode'
         20        INIT_FCALL                                                   'json_encode'
         21        SEND_VAR                                                     !0
         22        DO_ICALL                                             $10     
         23        SEND_VAR                                                     $10
         24        DO_ICALL                                             $11     
         25        ASSIGN                                                       !0, $11
   34    26        INIT_FCALL                                                   'print_r'
         27        SEND_VAR                                                     !0
         28        DO_ICALL                                                     
   36    29        CAST                                              7  ~14     !0
         30        ASSIGN                                                       !0, ~14
   38    31        INIT_FCALL                                                   'print_r'
         32        SEND_VAR                                                     !0
         33        DO_ICALL                                                     
         34      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
178.06 ms | 2306 KiB | 16 Q