3v4l.org

run code in 500+ PHP versions simultaneously
<?php $sRegex = "/([A-Z]|[a-z]|[0-9]| |Ñ|ñ|!|&quot;|%|&amp;|'|´|-|:|;|>|=|&lt;|@|_|,|\{|\}|`|~|á|é|í|ó|ú|Á|É|Í|Ó|Ú|ü|Ü){1,300}/"; $sTest = "Hello world"; var_dump(preg_match($sRegex, $sTest)); // returns false var_dump(preg_last_error()); // returns 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1eUf6
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sRegex, !1 = $sTest
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%2F%28%5BA-Z%5D%7C%5Ba-z%5D%7C%5B0-9%5D%7C+%7C%C3%91%7C%C3%B1%7C%21%7C%26quot%3B%7C%25%7C%26amp%3B%7C%27%7C%C2%B4%7C-%7C%3A%7C%3B%7C%3E%7C%3D%7C%26lt%3B%7C%40%7C_%7C%2C%7C%5C%7B%7C%5C%7D%7C%60%7C%7E%7C%C3%A1%7C%C3%A9%7C%C3%AD%7C%C3%B3%7C%C3%BA%7C%C3%81%7C%C3%89%7C%C3%8D%7C%C3%93%7C%C3%9A%7C%C3%BC%7C%C3%9C%29%7B1%2C300%7D%2F'
    4     1        ASSIGN                                                       !1, 'Hello+world'
    6     2        INIT_FCALL                                                   'var_dump'
          3        FRAMELESS_ICALL_2                preg_match          ~4      !0, !1
          4        SEND_VAL                                                     ~4
          5        DO_ICALL                                                     
    7     6        INIT_FCALL                                                   'var_dump'
          7        INIT_FCALL                                                   'preg_last_error'
          8        DO_ICALL                                             $6      
          9        SEND_VAR                                                     $6
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.27 ms | 2274 KiB | 15 Q