3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = 'INT(13)'; $new_length = (int) preg_replace('/\D/', '', $subject); var_dump(preg_split('/\(.*\)/', $subject));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GJW3V
function name:  (null)
number of ops:  16
compiled vars:  !0 = $subject, !1 = $new_length
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'INT%2813%29'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5CD%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        CAST                                          4  ~4      $3
          7        ASSIGN                                                   !1, ~4
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'preg_split'
         10        SEND_VAL                                                 '%2F%5C%28.%2A%5C%29%2F'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.55 ms | 1394 KiB | 19 Q