3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = '/8352/sheknows/beauty-and-style/hairstyles-and-haircare'; $shard = floor(crc32($url) % 20); echo sprintf('sk:redirects:%s', $shard);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tGhRU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $url, !1 = $shard
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F8352%2Fsheknows%2Fbeauty-and-style%2Fhairstyles-and-haircare'
    3     1        INIT_FCALL                                               'floor'
          2        INIT_FCALL                                               'crc32'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        MOD                                              ~4      $3, 20
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    4     9        INIT_FCALL                                               'sprintf'
         10        SEND_VAL                                                 'sk%3Aredirects%3A%25s'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        ECHO                                                     $7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.53 ms | 1394 KiB | 19 Q