Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104939 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51005 invoked from network); 25 Mar 2019 18:50:10 -0000 Received: from unknown (HELO mail-wr1-f45.google.com) (209.85.221.45) by pb1.pair.com with SMTP; 25 Mar 2019 18:50:10 -0000 Received: by mail-wr1-f45.google.com with SMTP id r4so3037176wrq.8 for ; Mon, 25 Mar 2019 08:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pa2AodUaiiBpXbsYtKRgkskSuAv4gjd1HfihgJ6DNjg=; b=Msl0er10+0ZKkqoyXzVmVDmQkbgQfwX3w4HELXuYQzkeKuRYrP/a2jBI1EVEWgPVaO +MpdkTf6yfpZJubX3M2+zMmkvNwMGzeE3uWoGvP2B75jM1GWNafDg39PCJYakkQL/3d2 AoIJgNzMDcbVBwKUsvTBhQjweDB3beR/qWSds= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pa2AodUaiiBpXbsYtKRgkskSuAv4gjd1HfihgJ6DNjg=; b=ZwH0f3M4tSmkSgyVI/ls3ePlHniP3odpRVjoXo0ThzAUANvcc+XWxC1Fpr755rukc3 5k+5wRRPzHO9+IQhdq0k0VvHK97hNoEdiKKeIl8pr65DtQ0mfqUFp8sFA/QLJcisuNYA a/Ei/O0LQ+CDuMlsBBzCczZZFDCBVCHCsKnLCtx777/7xr5bBgSlLcTD2hxqdj88meQv 1FFJFZ1eVjih9c+xq4JcsV5RP2pwSlBKcDWy+z5khX5On21kxsl90hMjvtjU3+3+nNH2 w3iM0qlStAtJy9+5fk+zNTbJ6hy2onfa6TO8tDo8qdW2lHtNMLUnykotT8Fj89KQ16/2 aZCg== X-Gm-Message-State: APjAAAVxmZSkEJ2kb5mBS2XiUEqLMm6bIjLz08s0DMB6xxcB7dYKyEO9 26rZCBPMNzLxgUuueESpkmHY0AjpmE1i02E7/J3AIQ== X-Google-Smtp-Source: APXvYqwcPfLiicW7DlxIZO1BINKJQyUqaAsk57zq4azjT5BW4UhExIcPGSj4j1U0yIoP3QO5bcGDu64ZJUTnKJ3M3PY= X-Received: by 2002:adf:dbce:: with SMTP id e14mr11232223wrj.249.1553528599625; Mon, 25 Mar 2019 08:43:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 25 Mar 2019 17:43:08 +0200 Message-ID: To: Chase Peeler Cc: Christian Schneider , Dan Ackroyd , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] bool values and increment operators? From: narf@devilix.net (Andrey Andreev) Hi, On Mon, Mar 25, 2019 at 5:09 PM Chase Peeler wrote: > > 1.) Update the documentation to add booleans to the second list > 2.) Update the documentation to remove the second list - anything not in > the first list is not affected. > 3.) Update the language so that ++ and -- cast booleans to ints. > 4.) Emit warnings in those cases? I don't see a problem with how it currently works, but I do see a problem with it being silent. Cheers, Andrey.