3f50e7eeb4
Merge pull request #214 from davidcole1340/throw-exception-object
...
Add support for throwing Exception objects
2023-11-24 13:56:05 +01:00
9fa97a4ed9
Merge pull request #224 from davidcole1340/zval-indirect-support
...
Add support for Zval IS_INDIRECT
2023-11-24 13:52:32 +01:00
Joe Hoyle
6fdd6a35bd
fmt
2023-11-24 13:47:25 +01:00
e1851e5d64
Merge pull request #261 from davidcole1340/php-sapi-name
...
Add helper to get the sapi name
2023-11-24 13:41:35 +01:00
Joe Hoyle
50dad0cec4
Manually drop zval
2023-11-24 13:38:46 +01:00
4186cc4c34
Merge pull request #277 from davidcole1340/subclass-ce
...
Forward ClassEntry in create_object
2023-11-24 13:35:01 +01:00
Joe Hoyle
3cd7a8a1f7
Add support for Zval IS_INDIRECT
...
As mentioned in #219 , I believe we're making incorrect use of IS_CALLABLE on Zval types right now. Zval type bits are never actually stored as IS_CALLABLE, which overlaps with the _actual_ type value of IS_INDIRECT. IS_INDIRECT is almost the same as IS_REFERENCE, but is a direct reference to another Zval rather than reference object. As `Zval::is_callable()` and `Zval::callable()` don't actually make use of `IS_CALLABLE` then I think it's safe to switch this out.
2023-11-24 13:31:24 +01:00
23dcef83d4
Merge branch 'master' into php-sapi-name
2023-11-24 13:30:10 +01:00
27d4aa8c2e
Merge pull request #287 from danog/clang
...
Run tests using clang 15/17
2023-11-24 13:26:16 +01:00
5bb9ab1e45
Test more combos
2023-11-24 13:09:55 +01:00
8761816e23
Test more combos
2023-11-24 13:09:30 +01:00
6c0719c96b
Run tests using clang 16
2023-11-24 12:52:33 +01:00
1af2d54d0f
Merge pull request #286 from danog/php_8.3_sapi
...
Bump
2023-11-24 12:34:31 +01:00
b59dcd91c7
Bump
2023-11-24 12:33:56 +01:00
032e40ede6
Merge pull request #285 from danog/php_8.3_sapi
...
Expose SapiModule
2023-11-24 12:13:41 +01:00
3081630a33
Update docsrs_bindings.rs
2023-11-24 12:10:40 +01:00
917d7e2f18
Fmt
2023-11-24 11:58:36 +01:00
0fbf54a096
Expose SAPI module
2023-11-24 11:55:33 +01:00
10eac2497a
Expose SAPI module
2023-11-24 11:53:25 +01:00
2067c31c4d
Merge pull request #284 from danog/php_8.3_sapi
...
Add PHP 8.3, SAPI globals support
2023-11-21 20:31:16 +01:00
116c6987b9
Add version
2023-11-21 20:26:49 +01:00
fc6a8aee5e
Fixup
2023-11-21 20:23:18 +01:00
53d7249963
Fixup
2023-11-21 20:18:47 +01:00
f621e60be6
Add PHP 8.3, SAPI globals support
2023-11-21 20:13:57 +01:00
57c53b6734
Merge pull request #282 from davidcole1340/fix_typo
...
Fix typo
2023-11-17 19:22:18 +01:00
b81128acaf
Fix typo
2023-11-17 19:04:02 +01:00
426e2eb5dd
Merge pull request #281 from davidcole1340/cleanup_docs
...
Cleanup docs
2023-11-17 18:59:27 +01:00
d8a5a09b1a
Cleanup docs
2023-11-17 18:59:13 +01:00
2ebc015b13
Merge pull request #280 from davidcole1340/fix_279
...
Fix aarch64 build (fixes #279 )
2023-11-17 18:50:30 +01:00
c87dc4b9d9
Fmt
2023-11-17 18:42:03 +01:00
602a5830ae
Bump
2023-11-17 18:39:15 +01:00
bd54b3879f
Fix #279
2023-11-17 18:38:25 +01:00
Joe Hoyle
20c0d9c8cc
Remove unused class
2023-10-26 16:05:55 +02:00
Joe Hoyle
8009a91e13
Cargo fmt
2023-10-25 20:40:11 +02:00
Joe Hoyle
3688aac183
Check instance_of() so subclasses also work
2023-10-25 20:34:49 +02:00
Joel Wurtz
5fdd8fac44
feat(zend): add helper for try catch and bailout in PHP ( #275 )
...
* feat(zend): add helper for try catch and bailout in PHP
* feat(try): add bindings for bailout
* fix(try): add missing feature flag for test
* feat(try): add a test that expose memory leak problem
* feat(try): make bailout unsafe and explain why
* feat(bailout): flag bailout as a panic function
* feat(embed): add try catch on script / eval
2023-10-25 15:15:43 +02:00
Joe Hoyle
fbb0b41fdc
Forward ClassEntry in create_object
...
See #138
2023-10-24 20:16:53 +02:00
Joel Wurtz
dddc07f587
feat(test): add an example on how to test a module ( #276 )
2023-10-23 11:42:01 +02:00
aa88f5af1e
Add async support using php-tokio
...
Add async support using php-tokio
2023-10-21 23:33:25 +02:00
8462005af4
Cleanup
2023-10-21 23:23:08 +02:00
e80bebfc4c
Cleanup
2023-10-21 23:22:47 +02:00
a595e1d437
Cleanup
2023-10-21 23:21:51 +02:00
8890767ba9
Just add docs
2023-10-21 23:21:23 +02:00
924a99e73b
Platform-specific dependencies
2023-10-21 23:04:03 +02:00
ce4ca0664b
Make dependency optional
2023-10-21 22:58:38 +02:00
c0206ce6bc
Add async feature
2023-10-21 22:51:48 +02:00
0dae466e82
Bump
2023-10-21 22:27:05 +02:00
ea078bbd95
Test
2023-10-21 22:21:50 +02:00
942ec64219
Test
2023-10-21 22:16:46 +02:00
e4a450f03a
Add reqwest to dev deps
2023-10-21 22:08:21 +02:00