3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_substr("香港亿阳实业钻井工程施工服务应付账款转让项目(二期)", 0, 8, 'utf-8') . '****' . mb_substr("香港亿阳实业钻井工程施工服务应付账款转让项目(二期)",8 , 'utf-8'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qcRen
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mb_substr'
          2        SEND_VAL                                                 '%E9%A6%99%E6%B8%AF%E4%BA%BF%E9%98%B3%E5%AE%9E%E4%B8%9A%E9%92%BB%E4%BA%95%E5%B7%A5%E7%A8%8B%E6%96%BD%E5%B7%A5%E6%9C%8D%E5%8A%A1%E5%BA%94%E4%BB%98%E8%B4%A6%E6%AC%BE%E8%BD%AC%E8%AE%A9%E9%A1%B9%E7%9B%AE%EF%BC%88%E4%BA%8C%E6%9C%9F%EF%BC%89'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 8
          5        SEND_VAL                                                 'utf-8'
          6        DO_ICALL                                         $0      
          7        CONCAT                                           ~1      $0, '%2A%2A%2A%2A'
          8        INIT_FCALL                                               'mb_substr'
          9        SEND_VAL                                                 '%E9%A6%99%E6%B8%AF%E4%BA%BF%E9%98%B3%E5%AE%9E%E4%B8%9A%E9%92%BB%E4%BA%95%E5%B7%A5%E7%A8%8B%E6%96%BD%E5%B7%A5%E6%9C%8D%E5%8A%A1%E5%BA%94%E4%BB%98%E8%B4%A6%E6%AC%BE%E8%BD%AC%E8%AE%A9%E9%A1%B9%E7%9B%AE%EF%BC%88%E4%BA%8C%E6%9C%9F%EF%BC%89'
         10        SEND_VAL                                                 8
         11        SEND_VAL                                                 'utf-8'
         12        DO_ICALL                                         $2      
         13        CONCAT                                           ~3      ~1, $2
         14        SEND_VAL                                                 ~3
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.74 ms | 1395 KiB | 17 Q