3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D4nqJ
function name:  (null)
number of ops:  24
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'I+only+want+the+first+60+words+of+%24output+that+has+been+uploaded+100+words+to+the+database+to+be+shown+on+my+page%2C+what+is+the+simplest+way+for+me+to+do+this%3F%0A%0AI+want+%24output%5B%5D%3D%22description+to+only+fetch+first+60+words+from+the+database.+%2A%2A+I+have+tried+a+lot+method+but+isnt+working+for+me%2A%2A%0AI+only+want+the+first+60+words+of+%24output+that+has+been+uploaded+100+words+to+the+database+to+be+shown+on+my+page%2C+what+is+the+simplest+way+for+me+to+do+this%3F%0A%0AI+want+%24output%5B%5D%3D%22description+to+only+fetch+first+60+words+from+the+database.+%2A%2A+I+have+tried+a+lot+method+but+isnt+working+for+me%2A%2A'
   10     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        COUNT                                            ~3      $2
          6        CONCAT                                           ~4      ~3, '+words+in+string%0A%0A'
          7        ECHO                                                     ~4
   12     8        INIT_FCALL                                               'implode'
          9        SEND_VAL                                                 '+'
         10        INIT_FCALL                                               'array_slice'
         11        INIT_FCALL                                               'explode'
         12        SEND_VAL                                                 '+'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        SEND_VAL                                                 0
         17        SEND_VAL                                                 60
         18        DO_ICALL                                         $6      
         19        SEND_VAR                                                 $6
         20        DO_ICALL                                         $7      
         21        CONCAT                                           ~8      'first+60+is%3A%0A', $7
         22        ECHO                                                     ~8
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
237.02 ms | 969 KiB | 16 Q