3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strlen(substr(mt_rand().mt_rand(),0,12));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iIdPi
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'substr'
          1        INIT_FCALL                                               'mt_rand'
          2        DO_ICALL                                         $0      
          3        INIT_FCALL                                               'mt_rand'
          4        DO_ICALL                                         $1      
          5        CONCAT                                           ~2      $0, $1
          6        SEND_VAL                                                 ~2
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 12
          9        DO_ICALL                                         $3      
         10        STRLEN                                           ~4      $3
         11        ECHO                                                     ~4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.49 ms | 1394 KiB | 17 Q