3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_match("/^[\x20-\x7E]*$/", chr(11)) ? 'passed' : 'failed';
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
Jump found. Position 1 = 11
Branch analysis from position: 11
Jump found. Position 1 = -2
Branch analysis from position: 10
Jump found. Position 1 = -2
filename:       /in/E1GiX
function name:  (null)
number of ops:  13
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'preg_match'
         1        SEND_VAL                                                 '%2F%5E%5B+-%7E%5D%2A%24%2F'
         2        INIT_FCALL                                               'chr'
         3        SEND_VAL                                                 11
         4        DO_ICALL                                         $0      
         5        SEND_VAR                                                 $0
         6        DO_ICALL                                         $1      
         7      > JMPZ                                                     $1, ->10
         8    >   QM_ASSIGN                                        ~2      'passed'
         9      > JMP                                                      ->11
        10    >   QM_ASSIGN                                        ~2      'failed'
        11    >   ECHO                                                     ~2
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0