3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = "192.168.1.1"; $string2 = serialize($string1); echo $string2 . "\n"; echo unserialize($string2); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XJkRV
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string1, !1 = $string2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '192.168.1.1'
    5     1        INIT_FCALL                                               'serialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    7     5        CONCAT                                           ~5      !1, '%0A'
          6        ECHO                                                     ~5
    9     7        INIT_FCALL                                               'unserialize'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ECHO                                                     $6
   11    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.45 ms | 1394 KiB | 17 Q