3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Mobil { public $warna; public $jumlahKursi; public $jumlahRoda; public function warna($warna) { $this->warna = $warna; } public function jumlahRoda($jumlahRoda) { $this->jumlahRoda = $jumlahRoda; } public function jumlahKursi($jumlahKursi) { $this->jumlahKursi = $jumlahKursi; } public function tampilkan() { echo "Mobil dengan warna " . $this->warna . " memiliki " . $this->jumlahRoda . " buah roda dan " . $this->jumlahKursi . " kursi"; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JDNos
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     0  E > > RETURN                                                   1

Class Mobil:
Function warna:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JDNos
function name:  warna
number of ops:  4
compiled vars:  !0 = $warna
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
    9     1        ASSIGN_OBJ                                               'warna'
          2        OP_DATA                                                  !0
   10     3      > RETURN                                                   null

End of function warna

Function jumlahroda:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JDNos
function name:  jumlahRoda
number of ops:  4
compiled vars:  !0 = $jumlahRoda
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1        ASSIGN_OBJ                                               'jumlahRoda'
          2        OP_DATA                                                  !0
   14     3      > RETURN                                                   null

End of function jumlahroda

Function jumlahkursi:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JDNos
function name:  jumlahKursi
number of ops:  4
compiled vars:  !0 = $jumlahKursi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
   17     1        ASSIGN_OBJ                                               'jumlahKursi'
          2        OP_DATA                                                  !0
   18     3      > RETURN                                                   null

End of function jumlahkursi

Function tampilkan:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JDNos
function name:  tampilkan
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   FETCH_OBJ_R                                      ~0      'warna'
          1        CONCAT                                           ~1      'Mobil+dengan+warna+', ~0
          2        CONCAT                                           ~2      ~1, '+memiliki+'
          3        FETCH_OBJ_R                                      ~3      'jumlahRoda'
          4        CONCAT                                           ~4      ~2, ~3
          5        CONCAT                                           ~5      ~4, '+buah+roda+dan+'
          6        FETCH_OBJ_R                                      ~6      'jumlahKursi'
          7        CONCAT                                           ~7      ~5, ~6
          8        CONCAT                                           ~8      ~7, '+kursi'
          9        ECHO                                                     ~8
   22    10      > RETURN                                                   null

End of function tampilkan

End of class Mobil.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.74 ms | 1403 KiB | 13 Q