# Search results for "Scalar Extension Methods"

30 results, page 1 of 2. Each result is an email: results with the same thread number are in the same thread. The link opens the thread as Markdown, find the email in it by its number.

More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

1. [[RFC] Paren-less access to scalar extension methods ('a,b'->arr as sugar for 'a,b'->arr())](https://externals.io/message/132915.md) — email #132915 in thread #132913, by Rowan Tommins [IMSoP] on 2026-10-24
   > Hi, This follows up on the **Extension** **Methods** / **Scalar** **Extension** **Methods** RFCs (currently in draft). I'd like to propose allowing **extension** **methods** on **scalar** values to be invoked through property-fetch syntax, with the parentheses omitted. Hi, I …
2. [[RFC] Paren-less access to scalar extension methods ('a,b'->arr as sugar for 'a,b'->arr())](https://externals.io/message/132912.md) — email #132912 in thread #132912, by h4acda@qq.com on 2026-10-24
   > Hi, This follows up on the **Extension** **Methods** / **Scalar** **Extension** **Methods** RFCs (currently in draft). I'd like to propose allowing **extension** **methods** on **scalar** values to be invoked through property-fetch syntax, with the parentheses omitted. Proposal: when a …
3. [[RFC] [VOTE] PHP Attributes](https://externals.io/message/93221.md) — email #93221 in thread #93161, by Rowan Collins on 2016-05-11
   > … patch that does not include support for AST, that's a completely different feature. Arguably, with the right choice of **extension** **methods**, an implementation requiring a single **scalar** could be extended to support arbitrary expressions later, since "**scalar**" is a …
4. [Function auto-loading](https://externals.io/message/94933.md) — email #94933 in thread #94895, by michal@brzuchalski.com on 2016-08-08
   > IMHO if there were possibility to provide **scalar** objects like in Nikic **extension** https://nikic.github.io/2014/03/14/**Methods**-on-primitive-types-in-PHP.html most of str* and many other functions could be called wythout FQN simply …
5. [[Pre-RFC] Scalar object methods (with a working implementation)](https://externals.io/message/131782.md) — email #131782 in thread #131629, by Larry Garfield on 2026-07-06
   > … to use day to day. Which points at a hybrid I'd actually be keen on: core provides the common **scalar** ops always-in-scope, **extension** functions handle userland/domain-specific additions with use. That keeps your extensibility and unbounded …
6. [Pseudo-objects (methods on arrays, strings, etc.)](https://externals.io/message/61542.md) — email #61542 in thread #61325, by Sara Golemon on 2012-07-20
   > As you suggested initially. Don't make them objects. You can leave them scalars and still give them **methods** all from an **extension**. Not via typical APIs, granted, but the engine hooks are all in there. On Thu, Jul 19 …
7. [Class Extension](https://externals.io/message/131868.md) — email #131868 in thread #131805, by Holly Schilling on 2026-07-11
   > Holly ﻿Le 10/07/2026 à 20:33, Holly Schilling a écrit : . As far as **scalar** **methods** goes, I hate my implementation. I’m not suggesting someone else could do better, only that the compromises necessary to implement it weren …
8. [[RFC] [Discussion] Literal Scalar Types](https://externals.io/message/131772.md) — email #131772 in thread #131249, by Seifeddine Gmati on 2026-07-05
   > … 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 …
9. [Proposal: Arbitrary precision native scalar type](https://externals.io/message/122000.md) — email #122000 in thread #121938, by Robert Landers on 2023-12-13
   > … 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 …
10. [Reviving scalar type hints](https://externals.io/message/82918.md) — email #82918 in thread #82863, by Rasmus Lerdorf on 2015-02-17
   > … their code. Even if the caller has turned on strict, if you haven't added strict types to your functions/**methods** you are fine. Internal API and **extension** authors don't get this luxury. If the caller turns on strict …
11. [[VOTE] Scalar Type Hints](https://externals.io/message/82658.md) — email #82658 in thread #82589, by Andrea Faulds on 2015-02-14
   > … a very special case and, even in this case, PHP 7 could be the occasion to replace GMP functions with **methods**. The imperative API may not change, but who’s to say that the objects won’t have **methods** added …
12. [[RFC] Scalar Type Hints](https://externals.io/message/80121.md) — email #80121 in thread #80028, by Andrea Faulds on 2015-01-03
   > … needs or usages. Yeah, I don’t like this behaviour much. I want to avoid inconsistency with the behaviour of **extension** functions (i.e. zend_parse_parameters) where possible, though. Since this has come up so much, I should probably …
13. [[RFC] User Defined Operator Overloads (v0.6)](https://externals.io/message/116700.md) — email #116700 in thread #116611, by Andreas Hennings on 2021-12-21
   > I think the example in the RFC is interesting, but not ideal to advertise the RFC. The example is with native **scalar** types and build-in operator implementations. (I don't know how GMP works internally, but for an …
14. [A little syntactic sugar on array_* function calls?](https://externals.io/message/114606.md) — email #114606 in thread #114570, by Hamza Ahmad on 2021-05-26
   > … the function that registers a class that serves as a prototype of a built-in type. And, also provide with **scalar** **methods** for string, int, float and arrays. To get handler registering functionality added to core, there should be a …
15. [PHP new proposal](https://externals.io/message/74633.md) — email #74633 in thread #74595, by Rowan Lewis on 2014-05-29
   > I don't think there's an RFC, but Nikita wrote at length about it and created a PHP **extension** to allow for users to define their own **methods** on primitive types: http://nikic.github.io/2014/03/14/**Methods** …
16. [Named Parameters](https://externals.io/message/47771.md) — email #47771 in thread #47750, by Brian Moon on 2010-04-03
   > … work too good anymore for it. Is the desire for named parameters to only have it for user land function/**methods**? If so, I am kind of -.5 on this because that would be a little WTF for a new …
17. [RFC proposal : "new" keyword shorthand](https://externals.io/message/123547.md) — email #123547 in thread #123539, by Andreas Hennings on 2024-06-07
   > … or” vs “||”), why not make a shorthand way to write a function that calls a constructor (kinda sorta like C# **extension** **methods**)? Something kinda like: class MyClass implements Invocable { public function __construct($i) {} } MyClass($i); Where the Invocable interface defines …
18. [Adding a more logical string slicing function to PHP](https://externals.io/message/51795.md) — email #51795 in thread #51745, by Martin Scotta on 2011-04-02
   > … in every **extension** is daunting. Anybody out there have a patch along these lines? -Rasmus Glad to see pseudo-object **methods** for **scalars**/arrays brought up again. It'll improve workflow a lot. I want to ask/suggest two clarifications …
19. [Consistent function names](https://externals.io/message/84137.md) — email #84137 in thread #84102, by Terry Cullen on 2015-03-02
   > … And, the **method** chaining of common string/array manipulations makes for cleaner, easier to read code. I've used the **scalar** objects **extension** and found it a pleasure to use over the standard function but I can't use it …
20. [Simple variable handling.](https://externals.io/message/95082.md) — email #95082 in thread #95028, by Rowan Collins on 2016-08-12
   > … version of the wrapper? So kind of an **extension** to the "**scalar** objects" idea (e.g. https://github.com/nikic/**scalar**_objects) such that variables can have arbitrary properties / state rather than just the syntax sugar of ->**methodC**all() ? One problem …

Next page: https://externals.io/search.md?q=Scalar+Extension+Methods&page=2
