3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function floorDiff(string $input): int { $positiveMatches = preg_match_all ('/\(/', $input); $negativeMatches = preg_match_all ('/\)/', $input); return $positiveMatches - $negativeMatches; } assert(floorDiff('(') === 1); assert(floorDiff(')') === -1); assert(floorDiff('()') === 0); assert(floorDiff('(()))))') === -3); var_dump (floorDiff('()()(()()()(()()((()((()))((()((((()()((((()))()((((())(((((((()(((((((((()(((())(()()(()((()()(()(())(()((((()((()()()((((())((((((()(()(((()())(()((((()))())(())(()(()()))))))))((((((((((((()())()())())(())))(((()()()((((()(((()(()(()()(()(()()(()(((((((())(())(())())))((()())()((((()()((()))(((()()()())))(())))((((())(((()())(())(()))(()((((()())))())((()(())(((()((((()((()(())())))((()))()()(()(()))))((((((((()())((((()()((((()(()())(((((()(()())()))())(((()))()(()(()(()((((()(())(()))(((((()()(()()()(()(((())())(((()()(()()))(((()()(((())())(()(())())()()(())()()()((()(((()(())((()()((())()))((()()))((()()())((((()(()()(()(((()))()(()))))((()(((()()()))(()(((())()(()((()())(()(()()(()())(())()(((()(()())()((((()((()))))())()))((()()()()(())()())()()()((((()))))(()(((()()(((((((())()))()((((()((())()(()())(())()))(()(()())(((((((())))(((()))())))))()))())((())(()()((())()())()))))()((()()())(())((())((((()())())()()()(((()))())))()()))())(()()()(()((((((()()))())()))()(((()(((())((((()()()(()))())()()))))())()))())((())()())(((((())())((())())))(((())(((())(((((()(((((())(()(()())())(()(())(()))(()((((()))())()))))())))((()(()))))())))(((((())()))())()))))()))))(((()))()))))((()))((()((()(()(())()())))(()()()(())()))()((((())))))))(())(()((()()))(()))(()))(()((()))))))()()((((()()))()())()))))))()()()))(()((())(()))((()()()())()(((()((((())())))()((((()(()))))))())))()()())()))(()))))(()())()))))))((())))))))())()))()((())())))(()((()))()))(())))))(()))()())()()))((()(()))()()()()))))())()()))())(())()()))()))((()))))()()(()())))))()()()))((((()))()))))(()(())))(()())))((())())(()))()))))()())))()())()())))))))))()()))))())))((())((()))))())))(((()())))))))(()))()()))(()))()))))()())))))())((((()())))))))())))()()))))))))()))()))))()))))))(())))))))))())))))))))))))))())())((())))))))))()))((())))()))))))))())()(()))))))())))))()()()())()(()()()(()())(()))()()()(()())))())())))()))))())))))))()()()()())(())())()())()))))(()()()()()))))()))())())))((()())()())))()))()))))(()())))()))))))))(((()))()()))))))))))))))))))))(()))(()((()))())))())(()))(()(()(())))))()(()))()))()()))))))))))))()((()())(())())()(())))))())()())((()()))))(()()))))())()(())()))))))))))))))))))))()))(()(()())))))))()()((()))()))))))((())))()))))))))((()))())()()))())()()))((()))())))))))))))(()())()))(())((()(()()))(()())(())))()())(()(())()()))))()))()(()))))))(()))))))))))(()))())))))))))())))))())))(())))))()))))(())())))))))))()(()))))()())))())(()))()())))))))))))))())()()))))()))))))())))))()))))(())(()()()()((())()))())(()))((())()))())())(())(()()))))()))(())()()((())(())))(())))()))())))))))))()(((((())())))(())()))))(())))((()))()(((((((()))))()()))(())))))()(()))))(()()))()))())))))))(()())()))))))))())))(()))())()))(())()((())())()())())(()(()))))()))))))((()())(())()()(()())))()()))(())(())(()))())))()))(()))()()))((((()))))()))((()()()))))()))()))())))(()))()))))(())))()))())()(()))()())))())))))))())))())))()()))))))(()))())())))()))()()())())))))))))))))())))()))(()()))))())))())()(())))())))))))))))))))))()()())())))))()()()((()(()))()()(())()())()))()))))()()()))))))((()))))))))()(()(()((((((()()((()())))))))))))()))())))))((())())(()))())))())))))())()()())(())))())))()())())(())))))))()()(())))()))())))())())())()))))))))()))(()()()())())())))(())())))))))()()())()))))())))())()(())())))))))()())()))(()()(())())))()(()((()()((()()(((((())(()())()))(())()))(())))(())))))))()))()))((()))()))()))))))))()))))))))((()()())(()))(((()))(())))()))((())(((())))()())))())))))((())))))(())())((((((())())()(()))()(()((()())))((())()(()(()))))(())(()()())(())))())((()(((())())))(((()())())))())()(())())((((()()))))())((()))()()()()(())(((((((()()()((()))())(()())))(())())((((()()(()))))()((())))((())()))()(((()))())))()))((()(()))(())(()((((())((((()()(()()))(((())(()))))((((()(()))(())))))((()))(()))((()(((()(()))(()(()((()(())(()(()(()(()()((()))())(((())(()(()))))(()))()()))(())))(())()(((())(()))()((((()()))))())(()))))((())()((((()(((()))())())(((()))()())((())(())())(())()(())()(()()((((((()()))))()()(((()()))))()())()(((()(()))(()(()())(()(()))))(((((()(((())())))))(((((()((()()((())())((((((()(())(()()((()()()()()()()(()()))()(((()))()))(((((((())(((()((()())()((((())(((()(())))()((()(()()()((())((()())()))()))())))())((((((()))(()(()()()))(()((()(()(()))()((()(((()()()((())(((((())()(()))())())((()(())))(()(()())(())((())())())(((()()()(())))))())(()))))))()))))))())((()()()))((()((((((()))(((()((((()()()(((()))())()(()()(((()((()()()()())()()))()()()(()(())((()))))(()))())))))))()(()()(((((())()(()(((((()((()(()()())(()((((((((()((((((())()((((()()()((()((()((((((()))((())))))))())()))((()(()))()(()()(()((())((()()((((((((((((()())(()()()))((((()((((((())(()))())(()()((()()))()(((((((()((()()((((((()(((())))((())))((((((((()()(((((((())(((((()())(((())((())()((((()(((((((()(()(((()((((((()(((()(((((((((((()()((()()(()))((()()(((()(((())))((((())()(()(((())()(()(((())(((((((((((()))())))((((((())((()()((((()())())((((()()))((())(((((()(()()(()()()((())(()((()()((((()(((((()((()(()((((()())((((((()(((((()()(()(()((((())))(())(())(())((((()(()()((((()((((()()((()((((((())))(((((()))))()))(()((((((((()(((())())(((())))(()(()((())(((()((()()(((((()((()()(((())()(()))(((((((())(()(((((()))((()((()((()))(())())((((()((((())()(()))(((()(((((((((((((((())(((((((((()))(((()(()()()()((((((()((())()((((((((()(())(((((((((((()(()((())()((()()(()(()()((((()()((())(()((()()(()()((((()(((((((())))((((())(())()(((()()((()()((((()((()(((()((())(((()()()((((()((((()()(()(()((((((((())(()(((((())(()())(((((((()())()(()((((()((())(()()())((((()()(((()((((())(())(()()(((((((((()()))()(((())(()(()((((((())(()()())(()))()()(((()(((()((())(()(((((((()(()(()((()(((((()(()((()(()((((((()((((()()((((()(((()((())(()(()((()()((((()()(())()(())(((())(()((((((((()())(((((((((()(())()((((())))()))()()(((((()()((((((())(()()(((()(()(((((((()(()(((((((())(())((((()((()(())))((((()()())(()))((()())((((()(((((()(()(())(()(()()())(((((()(((((()((((()()((((((((()()))(()((((((())((((())()(()(((()()()(((()(()(())(())(((((()(())())((((())(())(()(((()(((((())((((())())((()(((((((()(((())(()(()))(((((((((()((()((()()(()((((())(((()((())((((())(()(((()(((()(()((((()(((())(()(((()(()()(()(()((()()(()())(())())((()(()(((()(((()(((()()(((((((((()(((((((((()()(((()(((()())((((()(()(((()()()((())((((((((((())(()(((()((((()())((((()((()))(((()()()(((((()(((((((())((()())(()((((())((((((((())(()((()((((((((((()()((()((()()))(((()())()())()(((()())()()(()(()(((((((())()))(())()))())()()((())()((()((((()((()((())(((((()((((((()(())))(()))())(((()))((()()(()(((()))((((())()(((()))))()(()(())()(((((())(()(()(())(())()((()()()((((()(())((()())(()(()))(()(()(()()(())()()(()((())()((()))))()))((()(()()()()((()())(()))())()(()(((((((((())())((()((()((((((())()((((())(((())((()(()()()((())(()((())(((()((((()()((()(()(((((())()))()((((((()))((())(((()()))(((())(())()))(((((((())(())())()(())(((((()))()((()))()(()()((()()()()()())(((((((') );
based on h7sO8
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/AjlnS
function name:  (null)
number of ops:  44
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
  12     1        ASSERT_CHECK                                             
         2        INIT_FCALL                                               'assert'
         3        INIT_FCALL                                               'floordiff'
         4        SEND_VAL                                                 '%28'
         5        DO_FCALL                                      0  $0      
         6        IS_IDENTICAL                                     ~1      $0, 1
         7        SEND_VAL                                                 ~1
         8        SEND_VAL                                                 'assert%28floorDiff%28%27%28%27%29+%3D%3D%3D+1%29'
         9        DO_ICALL                                                 
  13    10        ASSERT_CHECK                                             
        11        INIT_FCALL                                               'assert'
        12        INIT_FCALL                                               'floordiff'
        13        SEND_VAL                                                 '%29'
        14        DO_FCALL                                      0  $3      
        15        IS_IDENTICAL                                     ~4      $3, -1
        16        SEND_VAL                                                 ~4
        17        SEND_VAL                                                 'assert%28floorDiff%28%27%29%27%29+%3D%3D%3D+-1%29'
        18        DO_ICALL                                                 
  14    19        ASSERT_CHECK                                             
        20        INIT_FCALL                                               'assert'
        21        INIT_FCALL                                               'floordiff'
        22        SEND_VAL                                                 '%28%29'
        23        DO_FCALL                                      0  $6      
        24        IS_IDENTICAL                                     ~7      $6, 0
        25        SEND_VAL                                                 ~7
        26        SEND_VAL                                                 'assert%28floorDiff%28%27%28%29%27%29+%3D%3D%3D+0%29'
        27        DO_ICALL                                                 
  15    28        ASSERT_CHECK                                             
        29        INIT_FCALL                                               'assert'
        30        INIT_FCALL                                               'floordiff'
        31        SEND_VAL                                                 '%28%28%29%29%29%29%29'
        32        DO_FCALL                                      0  $9      
        33        IS_IDENTICAL                                     ~10     $9, -3
        34        SEND_VAL                                                 ~10
        35        SEND_VAL                                                 'assert%28floorDiff%28%27%28%28%29%29%29%29%29%27%29+%3D%3D%3D+-3%29'
        36        DO_ICALL                                                 
  16    37        INIT_FCALL                                               'var_dump'
        38        INIT_FCALL                                               'floordiff'
        39        SEND_VAL                                                 '%28%29%28%29%28%28%29%28%29%28%29%28%28%29%28%29%28%28%28%29%28%28%28%29%29%29%28%28%28%29%28%28%28%28%28%29%28%29%28%28%28%28%28%29%29%29%28%29%28%28%28%28%28%29%29%28%28%28%28%28%28%28%28%29%28%28%28%28%28%28%28%28%28%28%29%28%28%28%28%29%29%28%28%29%28%29%28%28%29%28%28%28%29%28%29%28%28%29%28%28%29%29%28%28%29%28%28%28%28%28%29%28%28%28%29%28%29%28%29%28%28%28%28%28%29%29%28%28%28%28%28%28%28%29%28%28%29%28%28%28%28%29%28%29%29%28%28%29%28%28%28%28%28%29%29%29%28%29%29%28%28%29%29%28%28%29%28%28%29%28%29%29%29%29%29%29%29%29%29%28%28%28%28%28%28%28%28%28%28%28%28%28%29%28%29%29%28%29%28%29%29%28%29%29%28%28%29%29%29%29%28%28%28%28%29%28%29%28%29%28%28%28%28%28%29%28%28%28%28%29%28%28%29%28%28%29%28%29%28%28%29%28%28%29%28%29%28%28%29%28%28%28%28%28%28%28%28%29%29%28%28%29%29%28%28%29%29%28%29%29%29%29%28%28%28%29%28%29%29%28%29%28%28%28%28%28%29%28%29%28%28%28%29%29%29%28%28%28%28%29%28%29%28%29%28%29%29%29%29%28%28%29%29%29%29%28%28%28%28%28%29%29%28%28%28%28%29%28%29%29%28%28%29%29%28%28%29%29%29%28%28%29%28%28%28%28%28%29%28%29%29%29%29%28%29%29%28%28%28%29%28%28%29%29%28%28%28%28%29%28%28%28%28%28%29%28%28%28%29%28%28%29%29%28%29%29%29%29%28%28%28%29%29%29%28%29%28%29%28%28%29%28%28%29%29%29%29%29%28%28%28%28%28%28%28%28%28%29%28%29%29%28%28%28%28%28%29%28%29%28%28%28%28%28%29%28%28%29%28%29%29%28%28%28%28%28%28%29%28%28%29%28%29%29%28%29%29%29%28%29%29%28%28%28%28%29%29%29%28%29%28%28%29%28%28%29%28%28%29%28%28%28%28%28%29%28%28%29%29%28%28%29%29%29%28%28%28%28%28%28%29%28%29%28%28%29%28%29%28%29%28%28%29%28%28%28%28%29%29%28%29%29%28%28%28%28%29%28%29%28%28%29%28%29%29%29%28%28%28%28%29%28%29%28%28%28%28%29%29%28%29%29%28%28%29%28%28%29%29%28%29%29%28%29%28%29%28%28%29%29%28%29%28%29%28%29%28%28%28%29%28%28%28%28%29%28%28%29%29%28%28%28%29%28%29%28%28%28%29%29%28%29%29%29%28%28%28%29%28%29%29%29%28%28%28%29%28%29%28%29%29%28%28%28%28%28%29%28%28%29%28%29%28%28%29%28%28%28%28%29%29%29%28%29%28%28%29%29%29%29%29%28%28%28%29%28%28%28%28%29%28%29%28%29%29%29%28%28%29%28%28%28%28%29%29%28%29%28%28%29%28%28%28%29%28%29%29%28%28%29%28%28%29%28%29%28%28%29%28%29%29%28%28%29%29%28%29%28%28%28%28%29%28%28%29%28%29%29%28%29%28%28%28%28%28%29%28%28%28%29%29%29%29%29%28%29%29%28%29%29%29%28%28%28%29%28%29%28%29%28%29%28%28%29%29%28%29%28%29%29%28%29%28%29%28%29%28%28%28%28%28%29%29%29%29%29%28%28%29%28%28%28%28%29%28%29%28%28%28%28%28%28%28%28%29%29%28%29%29%29%28%29%28%28%28%28%28%29%28%28%28%29%29%28%29%28%28%29%28%29%29%28%28%29%29%28%29%29%29%28%28%29%28%28%29%28%29%29%28%28%28%28%28%28%28%28%29%29%29%29%28%28%28%28%29%29%29%28%29%29%29%29%29%29%28%29%29%29%28%29%29%28%28%28%29%29%28%28%29%28%29%28%28%28%29%29%28%29%28%29%29%28%29%29%29%29%29%28%29%28%28%28%29%28%29%28%29%29%28%28%29%29%28%28%28%29%29%28%28%28%28%28%29%28%29%29%28%29%29%28%29%28%29%28%29%28%28%28%28%29%29%29%28%29%29%29%29%28%29%28%29%29%29%28%29%29%28%28%29%28%29%28%29%28%28%29%28%28%28%28%28%28%28%29%28%29%29%29%28%29%29%28%29%29%29%28%29%28%28%28%28%29%28%28%28%28%29%29%28%28%28%28%28%29%28%29%28%29%28%28%29%29%29%28%29%29%28%29%28%29%29%29%29%29%28%29%29%28%29%29%29%28%29%29%28%28%28%29%29%28%29%28%29%29%28%28%28%28%28%28%29%29%28%29%29%28%28%28%29%29%28%29%29%29%29%28%28%28%28%29%29%28%28%28%28%29%29%28%28%28%28%28%28%29%28%28%28%28%28%28%29%29%28%28%29%28%28%29%28%29%29%28%29%29%28%28%29%28%28%29%29%28%28%29%29%29%28%28%29%28%28%28%28%28%29%29%29%28%29%29%28%29%29%29%29%29%28%29%29%29%29%28%28%28%29%28%28%29%29%29%29%29%28%29%29%29%29%28%28%28%28%28%28%29%29%28%29%29%29%28%29%29%28%29%29%29%29%29%28%29%29%29%29%29%28%28%28%28%29%29%29%28%29%29%29%29%29%28%28%28%29%29%29%28%28%28%29%28%28%28%29%28%28%29%28%28%29%29%28%29%28%29%29%29%29%28%28%29%28%29%28%29%28%28%29%29%28%29%29%29%28%29%28%28%28%28%28%29%29%29%29%29%29%29%29%28%28%29%29%28%28%29%28%28%28%29%28%29%29%29%28%28%29%29%29%28%28%29%29%29%28%28%29%28%28%28%29%29%29%29%29%29%29%28%29%28%29%28%28%28%28%28%29%28%29%29%29%28%29%28%29%29%28%29%29%29%29%29%29%29%28%29%28%29%28%29%29%29%28%28%29%28%28%28%29%29%28%28%29%29%29%28%28%28%29%28%29%28%29%28%29%29%28%29%28%28%28%28%29%28%28%28%28%28%29%29%28%29%29%29%29%28%29%28%28%28%28%28%29%28%28%29%29%29%29%29%29%29%28%29%29%29%29%28%29%28%29%28%29%29%28%29%29%29%28%28%29%29%29%29%29%28%28%29%28%29%29%28%29%29%29%29%29%29%29%28%28%28%29%29%29%29%29%29%29%29%28%29%29%28%29%29%29%28%29%28%28%28%29%29%28%29%29%29%29%28%28%29%28%28%28%29%29%29%28%29%29%29%28%28%29%29%29%29%29%29%28%28%29%29%29%28%29%28%29%29%28%29%28%29%29%29%28%28%28%29%28%28%29%29%29%28%29%28%29%28%29%28%29%29%29%29%29%28%29%29%28%29%28%29%29%29%28%29%29%28%28%29%29%28%29%28%29%29%29%28%29%29%29%28%28%28%29%29%29%29%29%28%29%28%29%28%28%29%28%29%29%29%29%29%29%28%29%28%29%28%29%29%29%28%28%28%28%28%29%29%29%28%29%29%29%29%29%28%28%29%28%28%29%29%29%29%28%28%29%28%29%29%29%29%28%28%28%29%29%28%29%29%28%28%29%29%29%28%29%29%29%29%29%28%29%28%29%29%29%29%28%29%28%29%29%28%29%28%29%29%29%29%29%29%29%29%29%29%28%29%28%29%29%29%29%29%28%29%29%29%29%28%28%28%29%29%28%28%28%29%29%29%29%29%28%29%29%29%29%28%28%28%28%29%28%29%29%29%29%29%29%29%29%28%28%29%29%29%28%29%28%29%29%29%28%28%29%29%29%28%29%29%29%29%29%28%29%28%29%29%29%29%29%29%28%29%29%28%28%28%28%28%29%28%29%29%29%29%29%29%29%29%28%29%29%29%29%28%29%28%29%29%29%29%29%29%29%29%29%28%29%29%29%28%29%29%29%29%29%28%29%29%29%29%29%29%29%28%28%29%29%29%29%29%29%29%29%29%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%28%29%29%28%29%29%28%28%28%29%29%29%29%29%29%29%29%29%29%28%29%29%29%28%28%28%29%29%29%29%28%29%29%29%29%29%29%29%29%29%28%29%29%28%29%28%28%29%29%29%29%29%29%29%28%29%29%29%29%29%29%28%29%28%29%28%29%28%29%29%28%29%28%28%29%28%29%28%29%28%28%29%28%29%29%28%28%29%29%29%28%29%28%29%28%29%28%28%29%28%29%29%29%29%28%29%29%28%29%29%29%29%28%29%29%29%29%29%28%29%29%29%29%29%29%29%29%28%29%28%29%28%29%28%29%28%29%29%28%28%29%29%28%29%29%28%29%28%29%29%28%29%29%29%29%29%28%28%29%28%29%28%29%28%29%28%29%29%29%29%29%28%29%29%29%28%29%29%28%29%29%29%29%28%28%28%29%28%29%29%28%29%28%29%29%29%29%28%29%29%29%28%29%29%29%29%29%28%28%29%28%29%29%29%29%28%29%29%29%29%29%29%29%29%29%28%28%28%28%29%29%29%28%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%28%28%29%29%29%28%28%29%28%28%28%29%29%29%28%29%29%29%29%28%29%29%28%28%29%29%29%28%28%29%28%28%29%28%28%29%29%29%29%29%29%28%29%28%28%29%29%29%28%29%29%29%28%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%28%29%28%28%28%29%28%29%29%28%28%29%29%28%29%29%28%29%28%28%29%29%29%29%29%29%28%29%29%28%29%28%29%29%28%28%28%29%28%29%29%29%29%29%28%28%29%28%29%29%29%29%29%28%29%29%28%29%28%28%29%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%28%29%29%29%28%28%29%28%28%29%28%29%29%29%29%29%29%29%29%28%29%28%29%28%28%28%29%29%29%28%29%29%29%29%29%29%29%28%28%28%29%29%29%29%28%29%29%29%29%29%29%29%29%29%28%28%28%29%29%29%28%29%29%28%29%28%29%29%29%28%29%29%28%29%28%29%29%29%28%28%28%29%29%29%28%29%29%29%29%29%29%29%29%29%29%29%29%28%28%29%28%29%29%28%29%29%29%28%28%29%29%28%28%28%29%28%28%29%28%29%29%29%28%28%29%28%29%29%28%28%29%29%29%29%28%29%28%29%29%28%28%29%28%28%29%29%28%29%28%29%29%29%29%29%28%29%29%29%28%29%28%28%29%29%29%29%29%29%29%28%28%29%29%29%29%29%29%29%29%29%29%29%28%28%29%29%29%28%29%29%29%29%29%29%29%29%29%29%28%29%29%29%29%29%29%28%29%29%29%29%28%28%29%29%29%29%29%29%28%29%29%29%29%29%28%28%29%29%28%29%29%29%29%29%29%29%29%29%29%28%29%28%28%29%29%29%29%29%28%29%28%29%29%29%29%28%29%29%28%28%29%29%29%28%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%29%28%29%29%28%29%28%29%29%29%29%29%28%29%29%29%29%29%29%29%28%29%29%29%29%29%29%28%29%29%29%29%29%28%28%29%29%28%28%29%28%29%28%29%28%29%28%28%28%29%29%28%29%29%29%28%29%29%28%28%29%29%29%28%28%28%29%29%28%29%29%29%28%29%29%28%29%29%28%28%29%29%28%28%29%28%29%29%29%29%29%28%29%29%29%28%28%29%29%28%29%28%29%28%28%28%29%29%28%28%29%29%29%29%28%28%29%29%29%29%28%29%29%29%28%29%29%29%29%29%29%29%29%29%29%28%29%28%28%28%28%28%28%29%29%28%29%29%29%29%28%28%29%29%28%29%29%29%29%29%28%28%29%29%29%29%28%28%28%29%29%29%28%29%28%28%28%28%28%28%28%28%29%29%29%29%29%28%29%28%29%29%29%28%28%29%29%29%29%29%29%28%29%28%28%29%29%29%29%29%28%28%29%28%29%29%29%28%29%29%29%28%29%29%29%29%29%29%29%29%28%28%29%28%29%29%28%29%29%29%29%29%29%29%29%29%28%29%29%29%29%28%28%29%29%29%28%29%29%28%29%29%29%28%28%29%29%28%29%28%28%28%29%29%28%29%29%28%29%28%29%29%28%29%29%28%28%29%28%28%29%29%29%29%29%28%29%29%29%29%29%29%29%28%28%28%29%28%29%29%28%28%29%29%28%29%28%29%28%28%29%28%29%29%29%29%28%29%28%29%29%29%28%28%29%29%28%28%29%29%28%28%29%29%29%28%29%29%29%29%28%29%29%29%28%28%29%29%29%28%29%28%29%29%29%28%28%28%28%28%29%29%29%29%29%28%29%29%29%28%28%28%29%28%29%28%29%29%29%29%29%28%29%29%29%28%29%29%29%28%29%29%29%29%28%28%29%29%29%28%29%29%29%29%29%28%28%29%29%29%29%28%29%29%29%28%29%29%28%29%28%28%29%29%29%28%29%28%29%29%29%29%28%29%29%29%29%29%29%29%29%28%29%29%29%29%28%29%29%29%29%28%29%28%29%29%29%29%29%29%29%28%28%29%29%29%28%29%29%28%29%29%29%29%28%29%29%29%28%29%28%29%28%29%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%29%28%29%29%29%29%28%29%29%29%28%28%29%28%29%29%29%29%29%28%29%29%29%29%28%29%29%28%29%28%28%29%29%29%29%28%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%28%29%28%29%28%29%29%28%29%29%29%29%29%29%28%29%28%29%28%29%28%28%28%29%28%28%29%29%29%28%29%28%29%28%28%29%29%28%29%28%29%29%28%29%29%29%28%29%29%29%29%29%28%29%28%29%28%29%29%29%29%29%29%29%28%28%28%29%29%29%29%29%29%29%29%29%28%29%28%28%29%28%28%29%28%28%28%28%28%28%28%29%28%29%28%28%28%29%28%29%29%29%29%29%29%29%29%29%29%29%29%28%29%29%29%28%29%29%29%29%29%29%28%28%28%29%29%28%29%29%28%28%29%29%29%28%29%29%29%29%28%29%29%29%29%29%29%28%29%29%28%29%28%29%28%29%29%28%28%29%29%29%29%28%29%29%29%29%28%29%28%29%29%28%29%29%28%28%29%29%29%29%29%29%29%29%28%29%28%29%28%28%29%29%29%29%28%29%29%29%28%29%29%29%29%28%29%29%28%29%29%28%29%29%28%29%29%29%29%29%29%29%29%29%28%29%29%29%28%28%29%28%29%28%29%28%29%29%28%29%29%28%29%29%29%29%28%28%29%29%28%29%29%29%29%29%29%29%29%28%29%28%29%28%29%29%28%29%29%29%29%29%28%29%29%29%29%28%29%29%28%29%28%28%29%29%28%29%29%29%29%29%29%29%29%28%29%28%29%29%28%29%29%29%28%28%29%28%29%28%28%29%29%28%29%29%29%29%28%29%28%28%29%28%28%28%29%28%29%28%28%28%29%28%29%28%28%28%28%28%28%29%29%28%28%29%28%29%29%28%29%29%29%28%28%29%29%28%29%29%29%28%28%29%29%29%29%28%28%29%29%29%29%29%29%29%29%28%29%29%29%28%29%29%29%28%28%28%29%29%29%28%29%29%29%28%29%29%29%29%29%29%29%29%29%28%29%29%29%29%29%29%29%29%29%28%28%28%29%28%29%28%29%29%28%28%29%29%29%28%28%28%28%29%29%29%28%28%29%29%29%29%28%29%29%29%28%28%28%29%29%28%28%28%28%29%29%29%29%28%29%28%29%29%29%29%28%29%29%29%29%29%29%28%28%28%29%29%29%29%29%29%28%28%29%29%28%29%29%28%28%28%28%28%28%28%29%29%28%29%29%28%29%28%28%29%29%29%28%29%28%28%29%28%28%28%29%28%29%29%29%29%28%28%28%29%29%28%29%28%28%29%28%28%29%29%29%29%29%28%28%29%29%28%28%29%28%29%28%29%29%28%28%29%29%29%29%28%29%29%28%28%28%29%28%28%28%28%29%29%28%29%29%29%29%28%28%28%28%29%28%29%29%28%29%29%29%29%28%29%29%28%29%28%28%29%29%28%29%29%28%28%28%28%28%29%28%29%29%29%29%29%28%29%29%28%28%28%29%29%29%28%29%28%29%28%29%28%29%28%28%29%29%28%28%28%28%28%28%28%28%29%28%29%28%29%28%28%28%29%29%29%28%29%29%28%28%29%28%29%29%29%29%28%28%29%29%28%29%29%28%28%28%28%28%29%28%29%28%28%29%29%29%29%29%28%29%28%28%28%29%29%29%29%28%28%28%29%29%28%29%29%29%28%29%28%28%28%28%29%29%29%28%29%29%29%29%28%29%29%29%28%28%28%29%28%28%29%29%29%28%28%29%29%28%28%29%28%28%28%28%28%29%29%28%28%28%28%28%29%28%29%28%28%29%28%29%29%29%28%28%28%28%29%29%28%28%29%29%29%29%29%28%28%28%28%28%29%28%28%29%29%29%28%28%29%29%29%29%29%29%28%28%28%29%29%29%28%28%29%29%29%28%28%28%29%28%28%28%28%29%28%28%29%29%29%28%28%29%28%28%29%28%28%28%29%28%28%29%29%28%28%29%28%28%29%28%28%29%28%28%29%28%29%28%28%28%29%29%29%28%29%29%28%28%28%28%29%29%28%28%29%28%28%29%29%29%29%29%28%28%29%29%29%28%29%28%29%29%29%28%28%29%29%29%29%28%28%29%29%28%29%28%28%28%28%29%29%28%28%29%29%29%28%29%28%28%28%28%28%29%28%29%29%29%29%29%28%29%29%28%28%29%29%29%29%29%28%28%28%29%29%28%29%28%28%28%28%28%29%28%28%28%28%29%29%29%28%29%29%28%29%29%28%28%28%28%29%29%29%28%29%28%29%29%28%28%28%29%29%28%28%29%29%28%29%29%28%28%29%29%28%29%28%28%29%29%28%29%28%28%29%28%29%28%28%28%28%28%28%28%29%28%29%29%29%29%29%28%29%28%29%28%28%28%28%29%28%29%29%29%29%29%28%29%28%29%29%28%29%28%28%28%28%29%28%28%29%29%29%28%28%29%28%28%29%28%29%29%28%28%29%28%28%29%29%29%29%29%28%28%28%28%28%28%29%28%28%28%28%29%29%28%29%29%29%29%29%29%28%28%28%28%28%28%29%28%28%28%29%28%29%28%28%28%29%29%28%29%29%28%28%28%28%28%28%28%29%28%28%29%29%28%28%29%28%29%28%28%28%29%28%29%28%29%28%29%28%29%28%29%28%29%28%28%29%28%29%29%29%28%29%28%28%28%28%29%29%29%28%29%29%29%28%28%28%28%28%28%28%28%29%29%28%28%28%28%29%28%28%28%29%28%29%29%28%29%28%28%28%28%28%29%29%28%28%28%28%29%28%28%29%29%29%29%28%29%28%28%28%29%28%28%29%28%29%28%29%28%28%28%29%29%28%28%28%29%28%29%29%28%29%29%29%28%29%29%29%28%29%29%29%29%28%29%29%28%28%28%28%28%28%28%29%29%29%28%28%29%28%28%29%28%29%28%29%29%29%28%28%29%28%28%28%29%28%28%29%28%28%29%29%29%28%29%28%28%28%29%28%28%28%28%29%28%29%28%29%28%28%28%29%29%28%28%28%28%28%28%29%29%28%29%28%28%29%29%29%28%29%29%28%29%29%28%28%28%29%28%28%29%29%29%29%28%28%29%28%28%29%28%29%29%28%28%29%29%28%28%28%29%29%28%29%29%28%29%29%28%28%28%28%29%28%29%28%29%28%28%29%29%29%29%29%29%28%29%29%28%28%29%29%29%29%29%29%29%28%29%29%29%29%29%29%29%28%29%29%28%28%28%29%28%29%28%29%29%29%28%28%28%29%28%28%28%28%28%28%28%29%29%29%28%28%28%28%29%28%28%28%28%28%29%28%29%28%29%28%28%28%28%29%29%29%28%29%29%28%29%28%28%29%28%29%28%28%28%28%29%28%28%28%29%28%29%28%29%28%29%28%29%29%28%29%28%29%29%29%28%29%28%29%28%29%28%28%29%28%28%29%29%28%28%28%29%29%29%29%29%28%28%29%29%29%28%29%29%29%29%29%29%29%29%28%29%28%28%29%28%29%28%28%28%28%28%28%29%29%28%29%28%28%29%28%28%28%28%28%28%29%28%28%28%29%28%28%29%28%29%28%29%29%28%28%29%28%28%28%28%28%28%28%28%28%29%28%28%28%28%28%28%28%29%29%28%29%28%28%28%28%28%29%28%29%28%29%28%28%28%29%28%28%28%29%28%28%28%28%28%28%28%29%29%29%28%28%28%29%29%29%29%29%29%29%29%28%29%29%28%29%29%29%28%28%28%29%28%28%29%29%29%28%29%28%28%29%28%29%28%28%29%28%28%28%29%29%28%28%28%29%28%29%28%28%28%28%28%28%28%28%28%28%28%28%28%29%28%29%29%28%28%29%28%29%28%29%29%29%28%28%28%28%28%29%28%28%28%28%28%28%28%29%29%28%28%29%29%29%28%29%29%28%28%29%28%29%28%28%28%29%28%29%29%29%28%29%28%28%28%28%28%28%28%28%29%28%28%28%29%28%29%28%28%28%28%28%28%28%29%28%28%28%28%29%29%29%29%28%28%28%29%29%29%29%28%28%28%28%28%28%28%28%28%29%28%29%28%28%28%28%28%28%28%28%29%29%28%28%28%28%28%28%29%28%29%29%28%28%28%28%29%29%28%28%28%29%29%28%29%28%28%28%28%28%29%28%28%28%28%28%28%28%28%29%28%28%29%28%28%28%28%29%28%28%28%28%28%28%28%29%28%28%28%28%29%28%28%28%28%28%28%28%28%28%28%28%28%29%28%29%28%28%28%29%28%29%28%28%29%29%29%28%28%28%29%28%29%28%28%28%28%29%28%28%28%28%29%29%29%29%28%28%28%28%28%29%29%28%29%28%28%29%28%28%28%28%29%29%28%29%28%28%29%28%28%28%28%29%29%28%28%28%28%28%28%28%28%28%28%28%28%29%29%29%28%29%29%29%29%28%28%28%28%28%28%28%29%29%28%28%28%29%28%29%28%28%28%28%28%29%28%29%29%28%29%29%28%28%28%28%28%29%28%29%29%29%28%28%28%29%29%28%28%28%28%28%28%29%28%28%29%28%29%28%28%29%28%29%28%29%28%28%28%29%29%28%28%29%28%28%28%29%28%29%28%28%28%28%28%29%28%28%28%28%28%28%29%28%28%28%29%28%28%29%28%28%28%28%28%29%28%29%29%28%28%28%28%28%28%28%29%28%28%28%28%28%28%29%28%29%28%28%29%28%28%29%28%28%28%28%28%29%29%29%29%28%28%29%29%28%28%29%29%28%28%29%29%28%28%28%28%28%29%28%28%29%28%29%28%28%28%28%28%29%28%28%28%28%28%29%28%29%28%28%28%29%28%28%28%28%28%28%28%29%29%29%29%28%28%28%28%28%28%29%29%29%29%29%28%29%29%29%28%28%29%28%28%28%28%28%28%28%28%28%29%28%28%28%28%29%29%28%29%29%28%28%28%28%29%29%29%29%28%28%29%28%28%29%28%28%28%29%29%28%28%28%28%29%28%28%28%29%28%29%28%28%28%28%28%28%29%28%28%28%29%28%29%28%28%28%28%29%29%28%29%28%28%29%29%29%28%28%28%28%28%28%28%28%29%29%28%28%29%28%28%28%28%28%28%29%29%29%28%28%28%29%28%28%28%29%28%28%28%29%29%29%28%28%29%29%28%29%29%28%28%28%28%28%29%28%28%28%28%28%29%29%28%29%28%28%29%29%29%28%28%28%28%29%28%28%28%28%28%28%28%28%28%28%28%28%28%28%28%28%29%29%28%28%28%28%28%28%28%28%28%28%29%29%29%28%28%28%28%29%28%28%29%28%29%28%29%28%29%28%28%28%28%28%28%28%29%28%28%28%29%29%28%29%28%28%28%28%28%28%28%28%28%29%28%28%29%29%28%28%28%28%28%28%28%28%28%28%28%28%29%28%28%29%28%28%28%29%29%28%29%28%28%28%29%28%29%28%28%29%28%28%29%28%29%28%28%28%28%28%29%28%29%28%28%28%29%29%28%28%29%28%28%28%29%28%29%28%28%29%28%29%28%28%28%28%28%29%28%28%28%28%28%28%28%28%29%29%29%29%28%28%28%28%28%29%29%28%28%29%29%28%29%28%28%28%28%29%28%29%28%28%28%29%28%29%28%28%28%28%28%29%28%28%28%29%28%28%28%28%29%28%28%28%29%29%28%28%28%28%29%28%29%28%29%28%28%28%28%28%29%28%28%28%28%28%29%28%29%28%28%29%28%28%29%28%28%28%28%28%28%28%28%28%29%29%28%28%29%28%28%28%28%28%28%29%29%28%28%29%28%29%29%28%28%28%28%28%28%28%28%29%28%29%29%28%29%28%28%29%28%28%28%28%28%29%28%28%28%29%29%28%28%29%28%29%28%29%29%28%28%28%28%28%29%28%29%28%28%28%28%29%28%28%28%28%28%29%29%28%28%29%29%28%28%29%28%29%28%28%28%28%28%28%28%28%28%28%29%28%29%29%29%28%29%28%28%28%28%29%29%28%28%29%28%28%29%28%28%28%28%28%28%28%29%29%28%28%29%28%29%28%29%29%28%28%29%29%29%28%29%28%29%28%28%28%28%29%28%28%28%28%29%28%28%28%29%29%28%28%29%28%28%28%28%28%28%28%28%29%28%28%29%28%28%29%28%28%28%29%28%28%28%28%28%28%29%28%28%29%28%28%28%29%28%28%29%28%28%28%28%28%28%28%29%28%28%28%28%28%29%28%29%28%28%28%28%28%29%28%28%28%28%29%28%28%28%29%29%28%28%29%28%28%29%28%28%28%29%28%29%28%28%28%28%28%29%28%29%28%28%29%29%28%29%28%28%29%29%28%28%28%28%29%29%28%28%29%28%28%28%28%28%28%28%28%28%29%28%29%29%28%28%28%28%28%28%28%28%28%28%29%28%28%29%29%28%29%28%28%28%28%28%29%29%29%29%28%29%29%29%28%29%28%29%28%28%28%28%28%28%29%28%29%28%28%28%28%28%28%28%29%29%28%28%29%28%29%28%28%28%28%29%28%28%29%28%28%28%28%28%28%28%28%29%28%28%29%28%28%28%28%28%28%28%28%29%29%28%28%29%29%28%28%28%28%28%29%28%28%28%29%28%28%29%29%29%29%28%28%28%28%28%29%28%29%28%29%29%28%28%29%29%29%28%28%28%29%28%29%29%28%28%28%28%28%29%28%28%28%28%28%28%29%28%28%29%28%28%29%29%28%28%29%28%28%29%28%29%28%29%29%28%28%28%28%28%28%29%28%28%28%28%28%28%29%28%28%28%28%28%29%28%29%28%28%28%28%28%28%28%28%28%29%28%29%29%29%28%28%29%28%28%28%28%28%28%28%29%29%28%28%28%28%28%29%29%28%29%28%28%29%28%28%28%28%29%28%29%28%29%28%28%28%28%29%28%28%29%28%28%29%29%28%28%29%29%28%28%28%28%28%28%29%28%28%29%29%28%29%29%28%28%28%28%28%29%29%28%28%29%29%28%28%29%28%28%28%28%29%28%28%28%28%28%28%29%29%28%28%28%28%28%29%29%28%29%29%28%28%28%29%28%28%28%28%28%28%28%28%29%28%28%28%28%29%29%28%28%29%28%28%29%29%29%28%28%28%28%28%28%28%28%28%28%29%28%28%28%29%28%28%28%29%28%29%28%28%29%28%28%28%28%28%29%29%28%28%28%28%29%28%28%28%29%29%28%28%28%28%28%29%29%28%28%29%28%28%28%28%29%28%28%28%28%29%28%28%29%28%28%28%28%28%29%28%28%28%28%29%29%28%28%29%28%28%28%28%29%28%28%29%28%29%28%28%29%28%28%29%28%28%28%29%28%29%28%28%29%28%29%29%28%28%29%29%28%29%29%28%28%28%29%28%28%29%28%28%28%28%29%28%28%28%28%29%28%28%28%28%29%28%29%28%28%28%28%28%28%28%28%28%28%29%28%28%28%28%28%28%28%28%28%28%29%28%29%28%28%28%28%29%28%28%28%28%29%28%29%29%28%28%28%28%28%29%28%28%29%28%28%28%28%29%28%29%28%29%28%28%28%29%29%28%28%28%28%28%28%28%28%28%28%28%29%29%28%28%29%28%28%28%28%29%28%28%28%28%28%29%28%29%29%28%28%28%28%28%29%28%28%28%29%29%29%28%28%28%28%29%28%29%28%29%28%28%28%28%28%28%29%28%28%28%28%28%28%28%28%29%29%28%28%28%29%28%29%29%28%28%29%28%28%28%28%28%29%29%28%28%28%28%28%28%28%28%28%29%29%28%28%29%28%28%28%29%28%28%28%28%28%28%28%28%28%28%28%29%28%29%28%28%28%29%28%28%28%29%28%29%29%29%28%28%28%28%29%28%29%29%28%29%28%29%29%28%29%28%28%28%28%29%28%29%29%28%29%28%29%28%28%29%28%28%29%28%28%28%28%28%28%28%28%29%29%28%29%29%29%28%28%29%29%28%29%29%29%28%29%29%28%29%28%29%28%28%28%29%29%28%29%28%28%28%29%28%28%28%28%28%29%28%28%28%29%28%28%28%29%29%28%28%28%28%28%28%29%28%28%28%28%28%28%28%29%28%28%29%29%29%29%28%28%29%29%29%28%29%29%28%28%28%28%29%29%29%28%28%28%29%28%29%28%28%29%28%28%28%28%29%29%29%28%28%28%28%28%29%29%28%29%28%28%28%28%29%29%29%29%29%28%29%28%28%29%28%28%29%29%28%29%28%28%28%28%28%28%29%29%28%28%29%28%28%29%28%28%29%29%28%28%29%29%28%29%28%28%28%29%28%29%28%29%28%28%28%28%28%29%28%28%29%29%28%28%28%29%28%29%29%28%28%29%28%28%29%29%29%28%28%29%28%28%29%28%28%29%28%29%28%28%29%29%28%29%28%29%28%28%29%28%28%28%29%29%28%29%28%28%28%29%29%29%29%29%28%29%29%29%28%28%28%29%28%28%29%28%29%28%29%28%29%28%28%28%29%28%29%29%28%28%29%29%29%28%29%29%28%29%28%28%29%28%28%28%28%28%28%28%28%28%28%29%29%28%29%29%28%28%28%29%28%28%28%29%28%28%28%28%28%28%28%29%29%28%29%28%28%28%28%28%29%29%28%28%28%28%29%29%28%28%28%29%28%28%29%28%29%28%29%28%28%28%29%29%28%28%29%28%28%28%29%29%28%28%28%28%29%28%28%28%28%28%29%28%29%28%28%28%29%28%28%29%28%28%28%28%28%28%29%29%28%29%29%29%28%29%28%28%28%28%28%28%28%29%29%29%28%28%28%29%29%28%28%28%28%29%28%29%29%29%28%28%28%28%29%29%28%28%29%29%28%29%29%29%28%28%28%28%28%28%28%28%29%29%28%28%29%29%28%29%29%28%29%28%28%29%29%28%28%28%28%28%28%29%29%29%28%29%28%28%28%29%29%29%28%29%28%28%29%28%29%28%28%28%29%28%29%28%29%28%29%28%29%28%29%29%28%28%28%28%28%28%28'
        40        DO_FCALL                                      0  $12     
        41        SEND_VAR                                                 $12
        42        DO_ICALL                                                 
        43      > RETURN                                                   1

Function floordiff:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/AjlnS
function name:  floorDiff
number of ops:  16
compiled vars:  !0 = $input, !1 = $positiveMatches, !2 = $negativeMatches
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   RECV                                             !0      
   4     1        INIT_FCALL                                               'preg_match_all'
         2        SEND_VAL                                                 '%2F%5C%28%2F'
         3        SEND_VAR                                                 !0
         4        DO_ICALL                                         $3      
         5        ASSIGN                                                   !1, $3
   6     6        INIT_FCALL                                               'preg_match_all'
         7        SEND_VAL                                                 '%2F%5C%29%2F'
         8        SEND_VAR                                                 !0
         9        DO_ICALL                                         $5      
        10        ASSIGN                                                   !2, $5
   8    11        SUB                                              ~7      !1, !2
        12        VERIFY_RETURN_TYPE                                       ~7
        13      > RETURN                                                   ~7
  10    14*       VERIFY_RETURN_TYPE                                       
        15*     > RETURN                                                   null

End of function floordiff

Generated using Vulcan Logic Dumper, using php 7.3.0