Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

matrix:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ One of the main source of inspiration for this tool is the Java jmap tool with t

Compatibility
-------------
PHP 5.5, 5.6, 7.0, 7.1, and 7.2.
PHP 5.5, 5.6, 7.0, 7.1, 7.2 and 7.3.

May compiles and works with PHP 5.3 and 5.4 but hasn't been tested with these versions.

Expand Down
11 changes: 10 additions & 1 deletion extension/php7/tests/dump-array.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,16 @@ Check array dump from memory

foreach ($myArrayDump['children'] as $key => $child) {
echo " Key: ".$key."\n";
echo " Type:".$meminfoData['items'][$child]['type']."\n";
echo " Type:";
$type = $meminfoData['items'][$child]['type'];
if ('int' === $type) {
echo "integer";
} elseif ('bool' === $type) {
echo "boolean";
} else {
echo $type;
}
echo "\n";
echo " Is root:".$meminfoData['items'][$child]['is_root']."\n";
}
?>
Expand Down
10 changes: 9 additions & 1 deletion extension/php7/tests/dump-scalar.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,15 @@ Check scalar dump from memory
foreach ($scalars as $scalar) {
echo "Symbol: ".$scalar['symbol_name']."\n";
echo " Frame: ".$scalar['frame']."\n";
echo " Type: ".$scalar['type']."\n";
echo " Type: ";
if ('int' === $scalar['type']) {
echo "integer";
} elseif ('bool' === $scalar['type']) {
echo "boolean";
} else {
echo $scalar['type'];
}
echo "\n";
echo " Is root: ".$scalar['is_root']."\n";
}
?>
Expand Down