3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = NULL; $test2 = array('123','345','564'); $test3 = serialize($test2); echo empty(unserialize($test3)) ? 'Yes' : 'No';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cv4TB
function name:  (null)
number of ops:  16
compiled vars:  !0 = $test, !1 = $test2, !2 = $test3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'serialize'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !2, $5
    9     6        INIT_FCALL                                               'unserialize'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                         $7      
          9        BOOL_NOT                                         ~8      $7
         10      > JMPZ                                                     ~8, ->13
         11    >   QM_ASSIGN                                        ~9      'Yes'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~9      'No'
         14    >   ECHO                                                     ~9
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.64 ms | 1394 KiB | 17 Q