3v4l.org

run code in 300+ 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:  15
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        INIT_FCALL                                               'preg_match'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'preg_last_error'
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.78 ms | 1399 KiB | 19 Q