3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '  love@outerbanks.org  '; preg_match('/^\x{c2a0}*(.*?)\x{c2a0}*$/u', $string, $out); foreach ($out[1] as $chr) { echo ord($chr); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/NWHWU
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string, !1 = $out, !2 = $chr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%A0%C2%A0love%40outerbanks.org%C2%A0%C2%A0'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5Cx%7Bc2a0%7D%2A%28.%2A%3F%29%5Cx%7Bc2a0%7D%2A%24%2Fu'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6        FETCH_DIM_R                                      ~5      !1, 1
          7      > FE_RESET_R                                       $6      ~5, ->14
          8    > > FE_FETCH_R                                               $6, !2, ->14
    6     9    >   INIT_FCALL                                               'ord'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $7      
         12        ECHO                                                     $7
    5    13      > JMP                                                      ->8
         14    >   FE_FREE                                                  $6
    7    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.2 ms | 1395 KiB | 17 Q