3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = @iconv_mime_encode('', $str, array( 'scheme' => 'Q', 'line-length' => 76, 'input-charset' => 'UTF-8', 'output-charset' => 'UTF-8', 'line-break-chars' => "\n" ) ); // There are reports that iconv_mime_encode() might fail and return FALSE //if ($output !== FALSE) //{ // iconv_mime_encode() will always put a header field name. // We've passed it an empty one, but it still prepends our // encoded string with ': ', so we need to strip it. echo substr($output, 2); //} // $chars = iconv_strlen($str, 'UTF-8');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5TkpZ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $output, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~2      
          1        INIT_FCALL_BY_NAME                                       'iconv_mime_encode'
          2        SEND_VAL_EX                                              ''
          3        SEND_VAR_EX                                              !1
    5     4        SEND_VAL_EX                                              <array>
          5        DO_FCALL                                      0  $3      
          6        END_SILENCE                                              ~2
    3     7        ASSIGN                                                   !0, $3
   18     8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 2
         11        DO_ICALL                                         $5      
         12        ECHO                                                     $5
   21    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.22 ms | 1394 KiB | 18 Q