3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Migros\Model; /** * Represents the Brand information */ class Brand { /** * ID of the brand * * @var string * @Serializer\Type("string") * @Serializer\XmlAttribute * @Serializer\Groups({"api"}) */ public $id; /** * Name of the brand * * @var string * @Serializer\Type("string") * @Serializer\Groups({"api"}) */ public $name; /** * Unique user-friendly ID * * @var string * @Serializer\Type("string") * @Serializer\Groups({"api"}) */ public $slug; /** * The title, e.g. suitable for the page title element * * @var string * @Serializer\Type("string") * @Serializer\Groups({"api"}) */ public $title; /** * A short, plain text description, e.g. suitable for the page meta element * * @var string * @Serializer\Type("string") * @Serializer\Groups({"api"}) */ public $abstract; /** * Keywords, e.g. suitable for the page meta element * * @var array * @Serializer\Type("array<string>") * @Serializer\XmlList(entry="keyword") * @Serializer\Groups({"api"}) */ public $keywords = array(); /** * The caption to the description * * @var string * @Serializer\Type("string") * @Serializer\Groups({"api"}) */ public $headline; /** * The long description of the brand (can contain HTML) * * @var string * @Serializer\Type("string") * @Serializer\Groups({"api"}) */ public $description; /** * Image of the brand * * @var Image * @Serializer\Type("Migros\Model\Image") * @Serializer\Groups({"api"}) */ public $image; /** * Whether this brand is owned by Migros (deprecated, use the information in tags instead) * * @var boolean * @Serializer\Type("boolean") * @Serializer\Groups({"api"}) * @deprecated since Sprint 27 */ public $migrosOwned; /** * Importance of the brand * * @var integer * @Serializer\Type("integer") * @Serializer\Groups({"api"}) */ public $importance; /** * Collection of links indexed by string identifier * * @var array[Link] * @Serializer\Type("array<string, Migros\Model\Link>") * @Serializer\XmlMap(entry="link", keyAttribute="id") * @Serializer\Groups({"api"}) */ public $links = array(); /** * Tags for flagging certain brands * * @var array * @Serializer\Type("array<string>") * @Serializer\XmlList(entry="tag") * @Serializer\Groups({"api"}) */ protected $tags = array(); /** * The score of the elastic search result in debug mode * * @var float * @Serializer\Type("float") * @Serializer\XmlAttribute * @Serializer\Groups({"scored-brands"}) */ public $score; /** * The score explanation of the elastic search result in debug mode * * @var array * @Serializer\Type("array") * @Serializer\XmlKeyValuePairs * @Serializer\Groups({"scored-brands"}) */ public $scoreExplanation; } $d = new Brand(); var_dump($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jVOm4
function name:  (null)
number of ops:  7
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  154     0  E >   NEW                                              $1      'Migros%5CModel%5CBrand'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
  155     3        INIT_NS_FCALL_BY_NAME                                    'Migros%5CModel%5Cvar_dump'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Migros\Model\Brand: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.74 ms | 1394 KiB | 15 Q