3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r['email'] = "twitter123'@garbott.co.uk"; if(!filter_var($r['email'], FILTER_VALIDATE_EMAIL)) { print_r("True Passed filter :: " . $r['email']); } else { print_r("False Passed filter :: " . $r['email']); die(); }// if
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/mhQdk
function name:  (null)
number of ops:  22
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'email'
          1        OP_DATA                                                  'twitter123%27%40garbott.co.uk'
    5     2        INIT_FCALL                                               'filter_var'
          3        FETCH_DIM_R                                      ~2      !0, 'email'
          4        SEND_VAL                                                 ~2
          5        SEND_VAL                                                 274
          6        DO_ICALL                                         $3      
          7        BOOL_NOT                                         ~4      $3
          8      > JMPZ                                                     ~4, ->15
    7     9    >   INIT_FCALL                                               'print_r'
         10        FETCH_DIM_R                                      ~5      !0, 'email'
         11        CONCAT                                           ~6      'True+Passed+filter+%3A%3A+', ~5
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
         14      > JMP                                                      ->21
   10    15    >   INIT_FCALL                                               'print_r'
         16        FETCH_DIM_R                                      ~8      !0, 'email'
         17        CONCAT                                           ~9      'False+Passed+filter+%3A%3A+', ~8
         18        SEND_VAL                                                 ~9
         19        DO_ICALL                                                 
   11    20      > EXIT                                                     
   12    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.03 ms | 1395 KiB | 17 Q