3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = test_input($_POST["name"]); if (!preg_match("/^[a-zA-Z ]*$/",$name)) { $nameErr = "فقط حروف و فاصله خالی مچاز است "; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/C1CKQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $name, !1 = $nameErr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'test_input'
          1        CHECK_FUNC_ARG                                           
          2        FETCH_FUNC_ARG               global              $2      '_POST'
          3        FETCH_DIM_FUNC_ARG                               $3      $2, 'name'
          4        SEND_FUNC_ARG                                            $3
          5        DO_FCALL                                      0  $4      
          6        ASSIGN                                                   !0, $4
    3     7        INIT_FCALL                                               'preg_match'
          8        SEND_VAL                                                 '%2F%5E%5Ba-zA-Z+%5D%2A%24%2F'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        BOOL_NOT                                         ~7      $6
         12      > JMPZ                                                     ~7, ->14
    5    13    >   ASSIGN                                                   !1, '%D9%81%D9%82%D8%B7+%D8%AD%D8%B1%D9%88%D9%81+%D9%88+%D9%81%D8%A7%D8%B5%D9%84%D9%87+%D8%AE%D8%A7%D9%84%DB%8C+%D9%85%DA%86%D8%A7%D8%B2+%D8%A7%D8%B3%D8%AA+'
    6    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.9 ms | 1009 KiB | 14 Q