3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'aaaba'; var_export( strlen(count_chars($string, 3)) < 2 // false );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4b2v9
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'aaaba'
    4     1        INIT_FCALL                                               'var_export'
    5     2        INIT_FCALL                                               'count_chars'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 3
          5        DO_ICALL                                         $2      
          6        STRLEN                                           ~3      $2
          7        IS_SMALLER                                       ~4      ~3, 2
          8        SEND_VAL                                                 ~4
    4     9        DO_ICALL                                                 
    6    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.99 ms | 1010 KiB | 15 Q