Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vendor/kint-php/kint/inc/kintParser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ private static function _parse_object( &$variable, kintVariableData $variableDat
* These prepended values have null bytes on either side.
* http://www.php.net/manual/en/language.types.array.php#language.types.array.casting
*/
if ( $key{0} === "\x00" ) {
if ( $key[0] === "\x00" ) {

$access = $key{1} === "*" ? "protected" : "private";
$access = $key[1] === "*" ? "protected" : "private";

// Remove the access level from the variable name
$key = substr( $key, strrpos( $key, "\x00" ) + 1 );
Expand Down Expand Up @@ -605,4 +605,4 @@ private static function _parse_unknown( &$variable, kintVariableData $variableDa
$variableData->value = var_export( $variable, true );
}

}
}