3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_fixed_array = New SplFixedArray(3); $test_fixed_array[0] = 0; $test_fixed_array[1] = 1; $test_fixed_array[2] = 2; $ser = serialize($test_fixed_array); $test_fixed_array_recover = unserialize($ser); var_dump($test_fixed_array_recover); file_put_contents("test.txt", $ser);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NIcn9
function name:  (null)
number of ops:  26
compiled vars:  !0 = $test_fixed_array, !1 = $ser, !2 = $test_fixed_array_recover
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'SplFixedArray'
          1        SEND_VAL_EX                                              3
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    4     4        ASSIGN_DIM                                               !0, 0
          5        OP_DATA                                                  0
    5     6        ASSIGN_DIM                                               !0, 1
          7        OP_DATA                                                  1
    6     8        ASSIGN_DIM                                               !0, 2
          9        OP_DATA                                                  2
    8    10        INIT_FCALL                                               'serialize'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !1, $9
   10    14        INIT_FCALL                                               'unserialize'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $11     
         17        ASSIGN                                                   !2, $11
   12    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
   14    21        INIT_FCALL                                               'file_put_contents'
         22        SEND_VAL                                                 'test.txt'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.38 ms | 1395 KiB | 21 Q