3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'http://qa.office/' ; $int = intval(preg_replace("/'", "/2", $string), 10); echo $int;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ncAHS
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $int
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fqa.office%2F'
    4     1        INIT_FCALL                                               'intval'
          2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%2F%27'
          4        SEND_VAL                                                 '%2F2'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        SEND_VAL                                                 10
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    6    11        ECHO                                                     !1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.89 ms | 1394 KiB | 17 Q