3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regSecond = 30; $regtime = trim('/Date(1466509710320+0000)/', $charlist= '/Date()') / 1000; $regSecond = date("s", $regtime); $setA = array('00', '01', '02', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43'); if (in_array($regSecond, $setA)) { echo 'Set A'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/ba7u4
function name:  (null)
number of ops:  21
compiled vars:  !0 = $regSecond, !1 = $regtime, !2 = $charlist, !3 = $setA
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 30
    3     1        INIT_FCALL                                               'trim'
          2        SEND_VAL                                                 '%2FDate%281466509710320%2B0000%29%2F'
          3        ASSIGN                                           ~5      !2, '%2FDate%28%29'
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                         $6      
          6        DIV                                              ~7      $6, 1000
          7        ASSIGN                                                   !1, ~7
    4     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 's'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !0, $9
    6    13        ASSIGN                                                   !3, <array>
    9    14        INIT_FCALL                                               'in_array'
         15        SEND_VAR                                                 !0
         16        SEND_VAR                                                 !3
         17        DO_ICALL                                         $12     
         18      > JMPZ                                                     $12, ->20
   10    19    >   ECHO                                                     'Set+A'
   11    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.09 ms | 1395 KiB | 19 Q