3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PHP_CodeSniffer { /** * The current version. * * @var string */ const VERSION = '1.4.8'; /** * Package stability; either stable or beta. * * @var string */ const STABILITY = 'stable'; } $phpcs = new PHP_CodeSniffer; echo 'PHP_CodeSniffer version '.$phpcs::VERSION.' ('.$phpcs::STABILITY.') ';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2HXhi
function name:  (null)
number of ops:  13
compiled vars:  !0 = $phpcs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $1      'PHP_CodeSniffer'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   21     3        FETCH_CLASS                                   0  $4      !0
          4        FETCH_CLASS_CONSTANT                             ~5      $4, 'VERSION'
          5        CONCAT                                           ~6      'PHP_CodeSniffer+version+', ~5
          6        CONCAT                                           ~7      ~6, '+%28'
          7        FETCH_CLASS                                   0  $8      !0
          8        FETCH_CLASS_CONSTANT                             ~9      $8, 'STABILITY'
          9        CONCAT                                           ~10     ~7, ~9
         10        CONCAT                                           ~11     ~10, '%29+'
         11        ECHO                                                     ~11
         12      > RETURN                                                   1

Class PHP_CodeSniffer: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.9 ms | 1393 KiB | 13 Q