Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103886 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38462 invoked from network); 30 Jan 2019 13:06:10 -0000 Received: from unknown (HELO mail-it1-f173.google.com) (209.85.166.173) by pb1.pair.com with SMTP; 30 Jan 2019 13:06:10 -0000 Received: by mail-it1-f173.google.com with SMTP id a6so9498312itl.4 for ; Wed, 30 Jan 2019 01:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0K74OUUrl98i0nCWJ9TYia+q4UCxgFSbgPSL1u9i+vY=; b=YqWSWhv5E1FmdAlT84zbAdQfUPoTFj76Q/u/ltWaXR+pccyw/o1WMCRtTpsQNDKbcQ DrC7p39Hz3xqbYJucejMes0MjQIBh6jkN67r230YWAn2Rymesqzw+kYNRzWsiIMnArVh SGEB7XTgnXckNZwDDDJchfnl7AH+tnJgohSK1blUxKfAoSE2Jw2rJtsdT8zdyAAzX2P3 tzBKrjtFUh3pF/SFTDLiBHQT72CGzzw6mwy+n6XRv/xPrJRQRsGflssCt+9qJfZNjNPs CcRZv/nqX0My9YCs8dtYotRMNSpknGkY98EX7TyRFMAbWl/9i27YEVfe+KtKKra2/6q6 1HPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0K74OUUrl98i0nCWJ9TYia+q4UCxgFSbgPSL1u9i+vY=; b=X09/q0NyH2iY7KMNJrClqPIkM91viDll1dBvwOl4qq++e9+GyTZzJ0eRdVd7jJVFIg 9OZrRLGFISQu2ITIHg6aCLQSI83S5fgTbNn9ILbIocq25Cm4yJ5xnejthWH+7xxKBLKm zbni7CHBFR4vncHrt4n1FFIson76VuDadD+rwP/7dKggpkd2t8A/aTf1OhwdpkGgoqdO FGRx8Wjgmj/a1am/qsg1uf7gUd37ooGyXknhc6Zwz8vLRNfEaGllMDnCVO6aV9jeAhZM tQx/+paMREro9tm5tkq3UTGe5b1aY/M+ehykV1EXLAvc+im56DwA+ESgxePkxOD8vBNa JmGQ== X-Gm-Message-State: AJcUukdpa9Fb96DaUE0Y1j2IK/uH1P+VbWxijV5QA2HfIYWC/C3culGm 3ymcJAmAgIa88pXlYbTCyjpK4MM8LEL42V4VAkHXk9Ly X-Google-Smtp-Source: ALg8bN4VldHsrAHqmpInAoKTBFFum3f+ND3KscGIrVN5DUWu19kH8taeupGvbeoAHFNx6+kpgs66kBPR5tNnRp13+20= X-Received: by 2002:a24:de87:: with SMTP id d129mr15392083itg.110.1548841545697; Wed, 30 Jan 2019 01:45:45 -0800 (PST) MIME-Version: 1.0 Date: Wed, 30 Jan 2019 10:45:28 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000250f8e0580a9c6cc" Subject: Remove zpp variation tests From: nikita.ppv@gmail.com (Nikita Popov) --000000000000250f8e0580a9c6cc Content-Type: text/plain; charset="UTF-8" Hi internals, We currently have a large number of zpp "variation" tests, which essentially only test the behavior of zend_parse_parameters plugged into different functions. A random example of such a test: https://github.com/php/php-src/blob/master/ext/standard/tests/strings/addslashes_variation1.phpt This test passes a certain set of input values of different types to a function with a zpp string argument and observes the behavior. Of course, there are also hundreds of other functions that accept strings through zpp and the behavior is always going to be the same. Based on a quick grep I would estimate that we have around 700 of these tests. We have a hard policy against adding new tests for zpp behavior, but I would like to get rid of the existing ones as well. They provide essentially no value, but are a major chore to update for even for minor changes. Regards, Nikita --000000000000250f8e0580a9c6cc--