3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo sprint_f('%s est gay',eval("(rand(0,1)?current:end)(explode(',','yves,spout,xa,steeve'))"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AOJ07
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'sprint_f'
          1        SEND_VAL_EX                                              '%25s+est+gay'
          2        INCLUDE_OR_EVAL                                  $0      '%28rand%280%2C1%29%3Fcurrent%3Aend%29%28explode%28%27%2C%27%2C%27yves%2Cspout%2Cxa%2Csteeve%27%29%29', EVAL
          3        SEND_VAR_NO_REF_EX                                       $0
          4        DO_FCALL                                      0  $1      
          5        ECHO                                                     $1
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.03 ms | 1392 KiB | 13 Q