3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domains = array( 'http://wwwvagrant.royalmail.com/business', 'http://wwwvagrant.parcelforce.com', 'https://www2.postoffice.co.uk', 'http://wwwvagrant.royalmail.com', 'asdfasdfasdf', 'http://eibvagrant.royalmail.com', 'http://wwwvagrant.royalmail.com/payments', ); $doamins = filter_var_array($domains, FILTER_VALIDATE_URL); print_r($domains); var_dump( filter_var('dsd', FILTER_VALIDATE_UR));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dU7CO
function name:  (null)
number of ops:  18
compiled vars:  !0 = $domains, !1 = $doamins
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'filter_var_array'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 273
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   13     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
   14     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'filter_var'
         11        SEND_VAL                                                 'dsd'
         12        FETCH_CONSTANT                                   ~6      'FILTER_VALIDATE_UR'
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                         $7      
         15        SEND_VAR                                                 $7
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.33 ms | 1394 KiB | 21 Q