3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class WorkUnitDataType { //============================================== // consts / vars //============================================== const NoneDataType = 0; const BoolDataType = 1; const NumericDataType = 2; const StringDataType = 3; const ArrayDataType = 4; const JsonDataType = 5; const UrlDataType = 6; const FileDataType = 7; private static $cachedConstantArr; private $value; private $name; //============================================== // construct //============================================== final public function __construct() { $name = get_class($this); $this->value = WorkUnitDataType::getValueFromName($name); $this->name = $name; } //============================================== // accessing //============================================== final public function getName() { return $this->name; } final public function getValue() { return $this->value; } //============================================== // convenience //============================================== final public static function NoneDataType() { return new NoneDataType();} final public static function BoolDataType() { return new BoolDataType();} final public static function NumericDataType(){ return new NumericDataType();} final public static function StringDataType() { return new StringDataType();} final public static function ArrayDataType() { return new ArrayDataType();} final public static function JsonDataType() { return new JsonDataType();} final public static function UrlDataType() { return new UrlDataType();} final public static function FileDataType() { return new FileDataType();} final public static function equals($class) { if( is_subclass_of($class, 'WorkUnitDataType')) { return $this->getValue() == $class->getValue(); } return False; } //============================================== // utility //============================================== final private static function getConstants() { if (self::$cachedConstantArr == NULL) { self::$cachedConstantArr = array(); } $calledClass = get_called_class(); if (!array_key_exists($calledClass, self::$cachedConstantArr)) { $reflect = new ReflectionClass($calledClass); self::$cachedConstantArr[$calledClass] = $reflect->getConstants(); } return self::$cachedConstantArr[$calledClass]; } final public static function isValidName($name, $strict = false) { $constants = self::getConstants(); if ($strict) { return array_key_exists($name, $constants); } $keys = array_map('strtolower', array_keys($constants)); return in_array(strtolower($name), $keys); } final public static function isValidValue($value) { $values = array_values(self::getConstants()); return in_array($value, $values, $strict = true); } final public static function getNameFromValue($const) { foreach (self::getConstants() as $name => $value) { if ($value == $const) { return $name; } } return Null; } final public static function getValueFromName($text) { foreach (self::getConstants() as $name => $value) { if ($name == $text) { return $value; } } return -1; } } class NoneDataType extends WorkUnitDataType {} class BoolDataType extends WorkUnitDataType {} class NumericDataType extends WorkUnitDataType {} class StringDataType extends WorkUnitDataType {} class ArrayDataType extends WorkUnitDataType {} class JsonDataType extends WorkUnitDataType {} class UrlDataType extends WorkUnitDataType {} class FileDataType extends WorkUnitDataType {} $a = WorkUnitDataType::NumericDataType(); var_dump($a); echo "\n"; echo $a->getName() . "\n"; echo $a->getValue() . "\n"; echo "\n\n"; $a = WorkUnitDataType::BoolDataType(); var_dump($a); echo "\n"; echo $a->getName() . "\n"; echo $a->getValue() . "\n"; echo "\n\n"; echo $a->equals(WorkUnitDataType::NumericDataType()) . "\n"; echo $a->equals(WorkUnitDataType::BoolDataType()) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  (null)
number of ops:  47
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  145     0  E >   INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'NumericDataType'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
  146     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
  147     6        ECHO                                                     '%0A'
  148     7        INIT_METHOD_CALL                                         !0, 'getName'
          8        DO_FCALL                                      0  $4      
          9        CONCAT                                           ~5      $4, '%0A'
         10        ECHO                                                     ~5
  149    11        INIT_METHOD_CALL                                         !0, 'getValue'
         12        DO_FCALL                                      0  $6      
         13        CONCAT                                           ~7      $6, '%0A'
         14        ECHO                                                     ~7
  150    15        ECHO                                                     '%0A%0A'
  151    16        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'BoolDataType'
         17        DO_FCALL                                      0  $8      
         18        ASSIGN                                                   !0, $8
  152    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                                 
  153    22        ECHO                                                     '%0A'
  154    23        INIT_METHOD_CALL                                         !0, 'getName'
         24        DO_FCALL                                      0  $11     
         25        CONCAT                                           ~12     $11, '%0A'
         26        ECHO                                                     ~12
  155    27        INIT_METHOD_CALL                                         !0, 'getValue'
         28        DO_FCALL                                      0  $13     
         29        CONCAT                                           ~14     $13, '%0A'
         30        ECHO                                                     ~14
  156    31        ECHO                                                     '%0A%0A'
  157    32        INIT_METHOD_CALL                                         !0, 'equals'
         33        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'NumericDataType'
         34        DO_FCALL                                      0  $15     
         35        SEND_VAR_NO_REF_EX                                       $15
         36        DO_FCALL                                      0  $16     
         37        CONCAT                                           ~17     $16, '%0A'
         38        ECHO                                                     ~17
  158    39        INIT_METHOD_CALL                                         !0, 'equals'
         40        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'BoolDataType'
         41        DO_FCALL                                      0  $18     
         42        SEND_VAR_NO_REF_EX                                       $18
         43        DO_FCALL                                      0  $19     
         44        CONCAT                                           ~20     $19, '%0A'
         45        ECHO                                                     ~20
         46      > RETURN                                                   1

Class WorkUnitDataType:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  __construct
number of ops:  11
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E >   FETCH_THIS                                       ~1      
          1        GET_CLASS                                        ~2      ~1
          2        ASSIGN                                                   !0, ~2
   30     3        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'getValueFromName'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $5      
          6        ASSIGN_OBJ                                               'value'
          7        OP_DATA                                                  $5
   31     8        ASSIGN_OBJ                                               'name'
          9        OP_DATA                                                  !0
   32    10      > RETURN                                                   null

End of function __construct

Function getname:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  getName
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   40     0  E >   FETCH_OBJ_R                                      ~0      'name'
          1      > RETURN                                                   ~0
   41     2*     > RETURN                                                   null

End of function getname

Function getvalue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  getValue
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   44     0  E >   FETCH_OBJ_R                                      ~0      'value'
          1      > RETURN                                                   ~0
   45     2*     > RETURN                                                   null

End of function getvalue

Function nonedatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  NoneDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   52     0  E >   NEW                                              $0      'NoneDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function nonedatatype

Function booldatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  BoolDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   53     0  E >   NEW                                              $0      'BoolDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function booldatatype

Function numericdatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  NumericDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   54     0  E >   NEW                                              $0      'NumericDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function numericdatatype

Function stringdatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  StringDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   55     0  E >   NEW                                              $0      'StringDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function stringdatatype

Function arraydatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  ArrayDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   56     0  E >   NEW                                              $0      'ArrayDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function arraydatatype

Function jsondatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  JsonDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   57     0  E >   NEW                                              $0      'JsonDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function jsondatatype

Function urldatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  UrlDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   58     0  E >   NEW                                              $0      'UrlDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function urldatatype

Function filedatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  FileDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   59     0  E >   NEW                                              $0      'FileDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function filedatatype

Function equals:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  equals
number of ops:  15
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   61     0  E >   RECV                                             !0      
   62     1        INIT_FCALL                                               'is_subclass_of'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'WorkUnitDataType'
          4        DO_ICALL                                         $1      
          5      > JMPZ                                                     $1, ->13
   63     6    >   FETCH_THIS                                       $2      
          7        INIT_METHOD_CALL                                         $2, 'getValue'
          8        DO_FCALL                                      0  $3      
          9        INIT_METHOD_CALL                                         !0, 'getValue'
         10        DO_FCALL                                      0  $4      
         11        IS_EQUAL                                         ~5      $3, $4
         12      > RETURN                                                   ~5
   66    13    > > RETURN                                                   <false>
   67    14*     > RETURN                                                   null

End of function equals

Function getconstants:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 20
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
Branch analysis from position: 5
filename:       /in/FMum1
function name:  getConstants
number of ops:  24
compiled vars:  !0 = $calledClass, !1 = $reflect
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   75     0  E >   FETCH_STATIC_PROP_R          unknown             ~2      'cachedConstantArr'
          1        IS_EQUAL                                                 ~2, null
          2      > JMPZ                                                     ~3, ->5
   76     3    >   ASSIGN_STATIC_PROP                                       'cachedConstantArr'
          4        OP_DATA                                                  <array>
   79     5    >   GET_CALLED_CLASS                                 ~5      
          6        ASSIGN                                                   !0, ~5
   81     7        FETCH_STATIC_PROP_R          unknown             ~7      'cachedConstantArr'
          8        ARRAY_KEY_EXISTS                                 ~8      !0, ~7
          9        BOOL_NOT                                         ~9      ~8
         10      > JMPZ                                                     ~9, ->20
   82    11    >   NEW                                              $10     'ReflectionClass'
         12        SEND_VAR_EX                                              !0
         13        DO_FCALL                                      0          
         14        ASSIGN                                                   !1, $10
   84    15        INIT_METHOD_CALL                                         !1, 'getConstants'
         16        DO_FCALL                                      0  $15     
         17        FETCH_STATIC_PROP_W          unknown             $13     'cachedConstantArr'
         18        ASSIGN_DIM                                               $13, !0
         19        OP_DATA                                                  $15
   87    20    >   FETCH_STATIC_PROP_R          unknown             ~16     'cachedConstantArr'
         21        FETCH_DIM_R                                      ~17     ~16, !0
         22      > RETURN                                                   ~17
   88    23*     > RETURN                                                   null

End of function getconstants

Function isvalidname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  isValidName
number of ops:  25
compiled vars:  !0 = $name, !1 = $strict, !2 = $constants, !3 = $keys
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   90     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <false>
   91     2        INIT_STATIC_METHOD_CALL                                  'getConstants'
          3        DO_FCALL                                      0  $4      
          4        ASSIGN                                                   !2, $4
   93     5      > JMPZ                                                     !1, ->8
   94     6    >   ARRAY_KEY_EXISTS                                 ~6      !0, !2
          7      > RETURN                                                   ~6
   97     8    >   INIT_FCALL                                               'array_map'
          9        SEND_VAL                                                 'strtolower'
         10        INIT_FCALL                                               'array_keys'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                         $8      
         15        ASSIGN                                                   !3, $8
   99    16        INIT_FCALL                                               'in_array'
         17        INIT_FCALL                                               'strtolower'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $10     
         20        SEND_VAR                                                 $10
         21        SEND_VAR                                                 !3
         22        DO_ICALL                                         $11     
         23      > RETURN                                                   $11
  100    24*     > RETURN                                                   null

End of function isvalidname

Function isvalidvalue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  isValidValue
number of ops:  15
compiled vars:  !0 = $value, !1 = $values, !2 = $strict
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  102     0  E >   RECV                                             !0      
  103     1        INIT_FCALL                                               'array_values'
          2        INIT_STATIC_METHOD_CALL                                  'getConstants'
          3        DO_FCALL                                      0  $3      
          4        SEND_VAR                                                 $3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
  105     7        INIT_FCALL                                               'in_array'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        ASSIGN                                           ~6      !2, <true>
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13      > RETURN                                                   $7
  106    14*     > RETURN                                                   null

End of function isvalidvalue

Function getnamefromvalue:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/FMum1
function name:  getNameFromValue
number of ops:  14
compiled vars:  !0 = $const, !1 = $value, !2 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  108     0  E >   RECV                                             !0      
  109     1        INIT_STATIC_METHOD_CALL                                  'getConstants'
          2        DO_FCALL                                      0  $3      
          3      > FE_RESET_R                                       $4      $3, ->11
          4    > > FE_FETCH_R                                       ~5      $4, !1, ->11
          5    >   ASSIGN                                                   !2, ~5
  110     6        IS_EQUAL                                                 !1, !0
          7      > JMPZ                                                     ~7, ->10
  111     8    >   FE_FREE                                                  $4
          9      > RETURN                                                   !2
  109    10    > > JMP                                                      ->4
         11    >   FE_FREE                                                  $4
  115    12      > RETURN                                                   null
  116    13*     > RETURN                                                   null

End of function getnamefromvalue

Function getvaluefromname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/FMum1
function name:  getValueFromName
number of ops:  14
compiled vars:  !0 = $text, !1 = $value, !2 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  118     0  E >   RECV                                             !0      
  119     1        INIT_STATIC_METHOD_CALL                                  'getConstants'
          2        DO_FCALL                                      0  $3      
          3      > FE_RESET_R                                       $4      $3, ->11
          4    > > FE_FETCH_R                                       ~5      $4, !1, ->11
          5    >   ASSIGN                                                   !2, ~5
  120     6        IS_EQUAL                                                 !2, !0
          7      > JMPZ                                                     ~7, ->10
  121     8    >   FE_FREE                                                  $4
          9      > RETURN                                                   !1
  119    10    > > JMP                                                      ->4
         11    >   FE_FREE                                                  $4
  125    12      > RETURN                                                   -1
  126    13*     > RETURN                                                   null

End of function getvaluefromname

End of class WorkUnitDataType.

Class NoneDataType:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  __construct
number of ops:  11
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E >   FETCH_THIS                                       ~1      
          1        GET_CLASS                                        ~2      ~1
          2        ASSIGN                                                   !0, ~2
   30     3        INIT_STATIC_METHOD_CALL                                  'WorkUnitDataType', 'getValueFromName'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $5      
          6        ASSIGN_OBJ                                               'value'
          7        OP_DATA                                                  $5
   31     8        ASSIGN_OBJ                                               'name'
          9        OP_DATA                                                  !0
   32    10      > RETURN                                                   null

End of function __construct

Function getname:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  getName
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   40     0  E >   FETCH_OBJ_R                                      ~0      'name'
          1      > RETURN                                                   ~0
   41     2*     > RETURN                                                   null

End of function getname

Function getvalue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  getValue
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   44     0  E >   FETCH_OBJ_R                                      ~0      'value'
          1      > RETURN                                                   ~0
   45     2*     > RETURN                                                   null

End of function getvalue

Function nonedatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  NoneDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   52     0  E >   NEW                                              $0      'NoneDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function nonedatatype

Function booldatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  BoolDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   53     0  E >   NEW                                              $0      'BoolDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function booldatatype

Function numericdatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  NumericDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   54     0  E >   NEW                                              $0      'NumericDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function numericdatatype

Function stringdatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  StringDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   55     0  E >   NEW                                              $0      'StringDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function stringdatatype

Function arraydatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  ArrayDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   56     0  E >   NEW                                              $0      'ArrayDataType'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
          3*     > RETURN                                                   null

End of function arraydatatype

Function jsondatatype:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FMum1
function name:  JsonDataType
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
---------------------------------------------------

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
582.1 ms | 1428 KiB | 31 Q