Skip to content
#externals

Search

582 results · page 5 of 30

  1. LingWitt@insightbb.com ·

    … it, however It sounds like it's unlikely to be fixed in PHP4... Regards Alan LingWitt@insightbb.com wrote: The methods of an object that has been passed to the overload() function lose their ability to have parameters passed by …

  2. Alan Knowles ·

    There is already a bug report on it, however It sounds like it's unlikely to be fixed in PHP4... Regards Alan LingWitt@insightbb.com wrote: The methods of an object that has been passed to the overload() function lose …

  3. John Coggeshall ·

    Hey all: I've written a new extension for PHP (ZE2 only) Based on the famed HTML Tidy's (http://tidy.sf.net/) library. This extension provides more than just an incredibly easy way to clean and repair HTML documents …

  4. tim@bastelstu.be ·

    Hi It also violates the exception policy in https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#throwables, which states: If an extension uses external functionality that may throw an exception it MUST wrap any exception thrown …

  5. Pratik Bhujel ·

    Hi Derick, Thanks, that is helpful. I have made both changes now. The extension is at v0.6.0: https://github.com/prateekbhujel/php-terminal/releases/tag/v0.6.0 The stream-aware methods now accept existing PHP stream resources …

  6. RFC Discussion Literal Scalar Types

    Seifeddine Gmati ·

    … t model nominally: a flag that comes back as the int 1, 2 or 3 from a database or C extension, an HTTP status, or an 'asc'|'desc' that exists only at one API boundary. Enums fit when you own …

  7. tim@bastelstu.be ·

    … the exception hierarchy: It should immediately be introduced into the namespace, because the exception hierarchy is relevant to the entire extension (e.g. also to newly namespaced bits) and namespacing it later will become messy. However since the OpenSSLSession class …

  8. John Bafford ·

    Languages with implicit interfaces like Go also go (no pun intended) "all in" on it. All methods on an object are defined externally, possibly not even in the same file. The whole standard lib was built on that model …

  9. Larry Garfield ·

    … exception. This situation is more difficult to accidentally arrive at, but still possible. You also lose the ability to call methods such as PDOStatement::execute(). This is not possible today, but by adding disconnect method we introduce a way in …

  10. Alexandre Daubois ·

    Hi Jakub Le mer. 23 juil. 2025 à 15:33, Jakub Zelenka bukka@php.net a écrit : Hello, I would like introduce and open discussion for RFC proposing the addition of JSON Schema validation support to JSON extension: https://wiki …

  11. Quake MMO ·

    Would adding a bcgetopts(): int and a bcsetopts(int $opts): void calls be useful? At this time there's no way to influence bcmath's behavior other than bcscale(). How about adding these as methods/properties to the BcMath …

  12. Eric Norris ·

    … a sea of Curl options is the least "presumptive way", regardless of the protocol and the options Curl provides. The extension is named Curl, because it's supposed to provide Curl functionality into PHP. It provides low-level functionality, but …

  13. kocsismate90@gmail.com ·

    Hi Larry and everyone who took part in the final vs non-final debate, Thought: make the class non-final, but all of the defined methods final, and any internal data properties private. That way we know that a child …

  14. Saki Takamachi ·

    … not using the GMP extensions and can't do operator overloading, won't you just have a class with protected methods that are never used and don't actually do anything? Ah, that could probably be clearer in the RFC …

  15. Bilge ·

    … because of (a) autoloading and (b) the ability to use private/protected methods. Neither of those apply to a php extension. I agree with the others, the static parser class is weird. Either put the static methods on the url …

  16. Robert Landers ·

    … work with numbers. Can not use proper type-hinting. Can use PHP's basic type coercions. Ext-decimal: Third-party extension. Workaround: implements the Decimal class that allows basic regular math operations. Requires using class methods for the rest of …

  17. Larry Garfield ·

    … intent that objects are compared using a custom comparison, rather than standard PHP one allow to skip writing boilerplate equals() methods which just forward equals() to the nested objects standardize such comparisons on the language level Of course how exactly …

  18. RFC Discussion PHP 8.3 deprecations

    tim@bastelstu.be ·

    Hi While I agree with the logic of deprecating mt_rand() in general, I do think it's too early to do so in 8.3. The Random extension is very new, and To be clear: The recommended replacement for …

  19. Dan Ackroyd ·

    Hi Juris, Hey, internals! As many before me, I have come accross a need to load a SQLite extension. The community does not want a new driver-specific loadExtension method on the PDO class (there are some historical driver-specific …

  20. tim@bastelstu.be ·

    Hi [1] The 'Text' class should likely be made final, because folks might otherwise rely on a specific userland extension, preventing actual interoperability. I'm fond of final classes but in here I think it adds burden to core developers …