On Sat, Mar 21, 2020 at 3:26 PM Craig Francis <cr...@craigfrancis.co.uk> wrote: > > As to the name, it's to work alongside functions such as > is_int(), is_string(), etc - is that a good enough reason?
I think it could cause confusion since int and string are value types, - literal is not a type as such, it merely describes the way the value was created. > I'm under the impression that PHP already defines these as literals Does anyone know if that is correct? Does PHP remember how the string variable / constant was created? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php