3v4l.org

run code in 300+ PHP versions simultaneously
<?php $charset = 'UTF-8//IGNORE'; $string = "I haven't felt much of anything since my guinea pig died. I didn't ask for a completely reasonable excuse! I asked you to get busy! Daylight and everything. You guys realize you live in a sewer, right? It's a T. It goes tuh. Yeah, lots of people did. You're going back for the Countess, aren't you? Guess again. THE BIG BRAIN AM WINNING AGAIN! I AM THE GREETEST! NOW I AM LEAVING EARTH, FOR NO RAISEN! Leela, Bender, we're going grave robbing. Humans dating robots is sick. You people wonder why I'm still single? It's 'cause all the fine robot sisters are dating humans!"; $substring = iconv_substr($string, 0, $limit, $charset); $result = iconv_substr($substring, 0, iconv_strrpos($substring, ' ', $charset), $charset) . '&hellip'; var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uNTa1
function name:  (null)
number of ops:  26
compiled vars:  !0 = $charset, !1 = $string, !2 = $substring, !3 = $limit, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'UTF-8%2F%2FIGNORE'
    4     1        ASSIGN                                                   !1, 'I+haven%27t+felt+much+of+anything+since+my+guinea+pig+died.+I+didn%27t+ask+for+a+completely+reasonable+excuse%21+I+asked+you+to+get+busy%21+Daylight+and+everything.+You+guys+realize+you+live+in+a+sewer%2C+right%3F%0A%0AIt%27s+a+T.+It+goes+tuh.+Yeah%2C+lots+of+people+did.+You%27re+going+back+for+the+Countess%2C+aren%27t+you%3F+Guess+again.%0A%0ATHE+BIG+BRAIN+AM+WINNING+AGAIN%21+I+AM+THE+GREETEST%21+NOW+I+AM+LEAVING+EARTH%2C+FOR+NO+RAISEN%21+Leela%2C+Bender%2C+we%27re+going+grave+robbing.+Humans+dating+robots+is+sick.+You+people+wonder+why+I%27m+still+single%3F+It%27s+%27cause+all+the+fine+robot+sisters+are+dating+humans%21'
   10     2        INIT_FCALL_BY_NAME                                       'iconv_substr'
          3        SEND_VAR_EX                                              !1
          4        SEND_VAL_EX                                              0
          5        SEND_VAR_EX                                              !3
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
   12     9        INIT_FCALL_BY_NAME                                       'iconv_substr'
         10        SEND_VAR_EX                                              !2
         11        SEND_VAL_EX                                              0
         12        INIT_FCALL_BY_NAME                                       'iconv_strrpos'
         13        SEND_VAR_EX                                              !2
         14        SEND_VAL_EX                                              '+'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0  $9      
         17        SEND_VAR_NO_REF_EX                                       $9
         18        SEND_VAR_EX                                              !0
         19        DO_FCALL                                      0  $10     
         20        CONCAT                                           ~11     $10, '%26hellip'
         21        ASSIGN                                                   !4, ~11
   14    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !4
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.07 ms | 1396 KiB | 21 Q