3v4l.org

run code in 500+ PHP versions simultaneously
<?php $mystring = "‐200"; $unicode_hyphen = '‐'; // E2 80 90 is the Unicode multibyte hyphen character your PDFs seem to contain $ascii_hyphen = '-'; $myint = intval(str_replace($unicode_hyphen , $ascii_hyphen , $mystring)); var_dump($myint);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sN5AS
function name:  (null)
number of ops:  11
compiled vars:  !0 = $mystring, !1 = $unicode_hyphen, !2 = $ascii_hyphen, !3 = $myint
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%E2%80%90200'
    6     1        ASSIGN                                                       !1, '%E2%80%90'
    7     2        ASSIGN                                                       !2, '-'
    8     3        FRAMELESS_ICALL_3                str_replace         ~7      !1, !2
          4        OP_DATA                                                      !0
          5        CAST                                              4  ~8      ~7
          6        ASSIGN                                                       !3, ~8
   10     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !3
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
176.29 ms | 2273 KiB | 14 Q