3v4l.org

run code in 300+ PHP versions simultaneously
<?php print strlen(inet_pton('2a01:cb15:254:f400:4d57:11b6:50ae:a29d')) == strlen(inet_pton('2a00:ee0::'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BYFQG
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'inet_pton'
          1        SEND_VAL                                                 '2a01%3Acb15%3A254%3Af400%3A4d57%3A11b6%3A50ae%3Aa29d'
          2        DO_ICALL                                         $0      
          3        STRLEN                                           ~1      $0
          4        INIT_FCALL                                               'inet_pton'
          5        SEND_VAL                                                 '2a00%3Aee0%3A%3A'
          6        DO_ICALL                                         $2      
          7        STRLEN                                           ~3      $2
          8        IS_EQUAL                                         ~4      ~1, ~3
          9        ECHO                                                     ~4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.64 ms | 1394 KiB | 15 Q