🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.vms
Article #234

Re: More PHP vulnerabilities

#234
From: Lawrence D’Oliveiro
Date: Sun, 22 Nov 2026 01:47
14 lines
1819 bytes
On Sat, 21 Nov 2026 20:25:26 -0500, Arne Vajhøj wrote:

> Java has both bitwise & and | on integer types and logical & and |
> on booleans.
>
> In C and Python bool are sort of an int so bitwise and logical are
> the same.

Python treats bool as a subclass of int. (Yes, you can subclass int.)

Java tries to treat them as entirely separate types, which is not
necessarily a bad thing on its own, but then it doesn’t provide
natural conversions between them. Like being able to use bool for
indexing arrays, just for example.
Technical Details
Message-ID: <11dthk0$j30q$3@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11dnpep$2kvk6$2@dont-email.me> <11dq9gg$3ghpm$1@dont-email.me> <11dqa7g$3guqc$1@dont-email.me> <6b021bab$0$672$14726298@news.sunsite.dk> <11dtb70$t8$1@reader2.panix.com> <11dtg8h$isan$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.vms
Subject: Re: More PHP vulnerabilities
Date: Sun, 22 Nov 2026 01:47:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <11dthk0$j30q$3@dont-email.me>
References: <11dnpep$2kvk6$2@dont-email.me> <11dq9gg$3ghpm$1@dont-email.me>
	<11dqa7g$3guqc$1@dont-email.me> <6b021bab$0$672$14726298@news.sunsite.dk>
	<11dtb70$t8$1@reader2.panix.com> <11dtg8h$isan$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 22 Nov 2026 01:47:44 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="625690"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/XwN5AKD9wFP8z72J4fEEk"; posting-host="459210f3b638d87187d8a6c5f3a5794f"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:98CC0neT/bInu+K856wHLtyFsZs= sha256:SUjhsm9RDO76dmJJegRGshR2twsCl72PDBznOuJd380=
	sha1:ehT0XB9V6R2Q8JA0xwkRMhieGtA= sha256:4fMiAexdapVbncgpwl8nHWsXJmLh2nut0VRuXl9yCl0=