3v4l.org

run code in 300+ PHP versions simultaneously
<?php function istSchaltjahr($jahr) { return ((($jahr % 4) == 0) && (($jahr % 100) != 0) || (($jahr % 400) == 0)); } istSchaltjahr("367249823492634689329469326946");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RiHVY
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'istschaltjahr'
          1        SEND_VAL                                                 '367249823492634689329469326946'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function istschaltjahr:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 7
filename:       /in/RiHVY
function name:  istSchaltjahr
number of ops:  13
compiled vars:  !0 = $jahr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        MOD                                              ~1      !0, 4
          2        IS_EQUAL                                         ~2      ~1, 0
          3      > JMPZ_EX                                          ~2      ~2, ->7
          4    >   MOD                                              ~3      !0, 100
          5        IS_NOT_EQUAL                                     ~4      ~3, 0
          6        BOOL                                             ~2      ~4
          7    > > JMPNZ_EX                                         ~2      ~2, ->11
          8    >   MOD                                              ~5      !0, 400
          9        IS_EQUAL                                         ~6      ~5, 0
         10        BOOL                                             ~2      ~6
         11    > > RETURN                                                   ~2
    5    12*     > RETURN                                                   null

End of function istschaltjahr

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.58 ms | 1397 KiB | 14 Q