3v4l.org

run code in 300+ PHP versions simultaneously
<?php $license_match = 'Your installation or use of this SugarCRM file is subject to the applicable'; $license = <<<EOQ /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ EOQ; if (preg_match('/' . $license_match . '/m', $license)) { echo 'good'; } else { echo 'oooo'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HQlVC
function name:  (null)
number of ops:  13
compiled vars:  !0 = $license_match, !1 = $license
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Your+installation+or+use+of+this+SugarCRM+file+is+subject+to+the+applicable'
    5     1        ASSIGN                                                   !1, '%2F%2A%0A+%2A+Your+installation+or+use+of+this+SugarCRM+file+is+subject+to+the+applicable%0A+%2A+terms+available+at%0A+%2A+http%3A%2F%2Fsupport.sugarcrm.com%2F06_Customer_Center%2F10_Master_Subscription_Agreements%2F.%0A+%2A+If+you+do+not+agree+to+all+of+the+applicable+terms+or+do+not+have+the%0A+%2A+authority+to+bind+the+entity+as+an+authorized+representative%2C+then+do+not%0A+%2A+install+or+use+this+SugarCRM+file.%0A+%2A%0A+%2A+Copyright+%28C%29+SugarCRM+Inc.+All+rights+reserved.%0A+%2A%2F'
   18     2        INIT_FCALL                                               'preg_match'
          3        CONCAT                                           ~4      '%2F', !0
          4        CONCAT                                           ~5      ~4, '%2Fm'
          5        SEND_VAL                                                 ~5
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8      > JMPZ                                                     $6, ->11
   19     9    >   ECHO                                                     'good'
         10      > JMP                                                      ->12
   21    11    >   ECHO                                                     'oooo'
   22    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.09 ms | 1395 KiB | 15 Q