3v4l.org

run code in 300+ PHP versions simultaneously
<?php $factor = 1.34; $higher_res = 2100; $lower_res = 300; $divisions = 70; for($i = $higher_res; $i >= $lower_res; $i = $i - $divisions){ echo "@media screen and (max-width:".$i."px) { .span12, .container{width: ". intval($i/ $factor) ."px !important;} }\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 6
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 6
Branch analysis from position: 17
Branch analysis from position: 6
filename:       /in/JSvVe
function name:  (null)
number of ops:  18
compiled vars:  !0 = $factor, !1 = $higher_res, !2 = $lower_res, !3 = $divisions, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1.34
    4     1        ASSIGN                                                   !1, 2100
    6     2        ASSIGN                                                   !2, 300
    8     3        ASSIGN                                                   !3, 70
   10     4        ASSIGN                                                   !4, !1
          5      > JMP                                                      ->15
   11     6    >   CONCAT                                           ~10     '%40media+screen+and+%28max-width%3A', !4
          7        CONCAT                                           ~11     ~10, 'px%29+%7B+.span12%2C+.container%7Bwidth%3A+'
          8        DIV                                              ~12     !4, !0
          9        CAST                                          4  ~13     ~12
         10        CONCAT                                           ~14     ~11, ~13
         11        CONCAT                                           ~15     ~14, 'px+%21important%3B%7D+%7D%0A'
         12        ECHO                                                     ~15
   10    13        SUB                                              ~16     !4, !3
         14        ASSIGN                                                   !4, ~16
         15    >   IS_SMALLER_OR_EQUAL                                      !2, !4
         16      > JMPNZ                                                    ~18, ->6
   12    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.11 ms | 1393 KiB | 13 Q