3v4l.org

run code in 300+ PHP versions simultaneously
<?php $finder = new PrimePalindromeFinder(); print($find->find()); class PrimePalindromeFinder { private $start; private $end; public function __construct($start = 1000, $end = 1) { $this->start = $start; $this->end = $end; } public function find() { return 929; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gvpJ5
function name:  (null)
number of ops:  7
compiled vars:  !0 = $finder, !1 = $find
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'PrimePalindromeFinder'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        INIT_METHOD_CALL                                         !1, 'find'
          4        DO_FCALL                                      0  $5      
          5        ECHO                                                     $5
   18     6      > RETURN                                                   1

Class PrimePalindromeFinder:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gvpJ5
function name:  __construct
number of ops:  7
compiled vars:  !0 = $start, !1 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV_INIT                                        !0      1000
          1        RECV_INIT                                        !1      1
   11     2        ASSIGN_OBJ                                               'start'
          3        OP_DATA                                                  !0
   12     4        ASSIGN_OBJ                                               'end'
          5        OP_DATA                                                  !1
   13     6      > RETURN                                                   null

End of function __construct

Function find:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gvpJ5
function name:  find
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E > > RETURN                                                   929
   17     1*     > RETURN                                                   null

End of function find

End of class PrimePalindromeFinder.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.67 ms | 1398 KiB | 13 Q