-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Call zval destructor when changing zval type and dropping * Remove zval return from array insert functions #73 The functions actually returned references to the new zval value, so there's not much point in returning. * Remove `ZendHashTable` wrapper Replaced by returning references to the actual hashtable, and having a new type `OwnedHashTable` when creating a new hashtable. * Remove pointless `drop` field from `OwnedHashTable` * Added `Values` iterator for Zend hashtable * Change iterators to double ended and exact size
- Loading branch information
1 parent
ff231ec
commit 7c484a0
Showing
11 changed files
with
562 additions
and
528 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
<?php | ||
|
||
include 'vendor/autoload.php'; | ||
test_zval(['hello' => 'world']); | ||
//include 'vendor/autoload.php'; | ||
|
||
$ext = new ReflectionExtension('skel'); | ||
//$ext = new ReflectionExtension('skel'); | ||
|
||
dd($ext); | ||
//dd($ext); | ||
|
||
$x = fn_once(); | ||
$x(); | ||
$x(); | ||
//$x = fn_once(); | ||
//$x(); | ||
//$x(); | ||
|
||
// $x = get_closure(); | ||
//// $x = get_closure(); | ||
|
||
// var_dump($x(5)); | ||
//// var_dump($x(5)); |
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
Oops, something went wrong.