3v4l.org

run code in 300+ PHP versions simultaneously
<?php // echo serialize(0); echo unserialize('i:-1;'); echo "\n"; echo unserialize('i:+1;'); echo "\n"; echo unserialize('d:-1.1;'); echo "\n"; echo unserialize('d:+1.2;');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SJm2g
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 'i%3A-1%3B'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    6     4        ECHO                                                     '%0A'
    7     5        INIT_FCALL                                               'unserialize'
          6        SEND_VAL                                                 'i%3A%2B1%3B'
          7        DO_ICALL                                         $1      
          8        ECHO                                                     $1
    8     9        ECHO                                                     '%0A'
    9    10        INIT_FCALL                                               'unserialize'
         11        SEND_VAL                                                 'd%3A-1.1%3B'
         12        DO_ICALL                                         $2      
         13        ECHO                                                     $2
   10    14        ECHO                                                     '%0A'
   11    15        INIT_FCALL                                               'unserialize'
         16        SEND_VAL                                                 'd%3A%2B1.2%3B'
         17        DO_ICALL                                         $3      
         18        ECHO                                                     $3
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.36 ms | 954 KiB | 14 Q