3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $phpVersion = phpversion(); $cleansedstring = preg_replace("/[^A-z0-9]/", "", $phpVersion); echo $cleansedstring;
based on 0HaIV
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HW1oU
function name:  (null)
number of ops:  11
compiled vars:  !0 = $phpVersion, !1 = $cleansedstring
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'phpversion'
         1        DO_ICALL                                         $2      
         2        ASSIGN                                                   !0, $2
   4     3        INIT_FCALL                                               'preg_replace'
         4        SEND_VAL                                                 '%2F%5B%5EA-z0-9%5D%2F'
         5        SEND_VAL                                                 ''
         6        SEND_VAR                                                 !0
         7        DO_ICALL                                         $4      
         8        ASSIGN                                                   !1, $4
   5     9        ECHO                                                     !1
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0