-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from BitOne/php7
Simplifies code and add summary analyzer
- Loading branch information
Showing
19 changed files
with
787 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
class MyClassA { | ||
private $myObjectName; | ||
|
||
public function __construct($name) | ||
{ | ||
$this->myObjectName = $name; | ||
} | ||
}; | ||
|
||
$myString = "My very nice string"; | ||
$myFloat = 3.14; | ||
$myInt = 42; | ||
$myNull = null; | ||
|
||
$myRootArray = []; | ||
|
||
for($i = 0; $i < 100; $i++) { | ||
$myRootArray['first level']['second level'][] = new MyClassA('My nice object name '.$i); | ||
}; | ||
|
||
meminfo_dump(fopen('/tmp/php_mem_dump.json','w')); | ||
|
||
|
Oops, something went wrong.