<commit_before>class Php < Formula
  desc "General-purpose scripting language"
  homepage "https://www.php.net/"
  # Should only be updated if the new version is announced on the homepage, https://www.php.net/
  url "https://www.php.net/distributions/php-8.1.1.tar.xz"
  mirror "https://fossies.org/linux/www/php-8.1.1.tar.xz"
  sha256 "33c09d76d0a8bbb5dd930d9dd32e6bfd44e9efcf867563759eb5492c3aff8856"
  license "PHP-3.01"

  livecheck do
    url "https://www.php.net/downloads"
    regex(/href=.*?php[._-]v?(\d+(?:\.\d+)+)\.t/i)
  end

  bottle do
    rebuild 1
    sha256 arm64_monterey: "7ec70fa6ae38b906adfa989ea68a556102292dba7f46499b4103f604d0ea44f1"
    sha256 arm64_big_sur:  "96b6724d434b2ace7f2cee907d4739aaf4e8da809c6921ff85d4b5ad33369787"
    sha256 monterey:       "4dddb16c5d32a296b63468728039c1b295375306c12957dfe26ca5019e5b819f"
    sha256 big_sur:        "06cff60cb558c7cab5494eb7165463ea3d653500b4720e50632aef6c91925498"
    sha256 catalina:       "c7437d9bbd76336c0d8ae7c97d867a28ebeea7a9585c0fa8ef652188fbf66c3e"
    sha256 x86_64_linux:   "c5cc1ab736dc47239dfbdd7c9652a9735004fed310420b20f5c9ec034c2d86ca"
  end

  head do
    url "https://github.com/php/php-src.git"

    depends_on "bison" => :build # bison >= 3.0.0 required to generate parsers
    depends_on "re2c" => :build # required to generate PHP lexers
  end

  depends_on "httpd" => [:build, :test]
  depends_on "pkg-config" => :build
  depends_on "apr"
  depends_on "apr-util"
  depends_on "argon2"
  depends_on "aspell"
  depends_on "autoconf"<commit_msg>php 8.1.2<commit_after>class Php < Formula
  desc "General-purpose scripting language"
  homepage "https://www.php.net/"
  # Should only be updated if the new version is announced on the homepage, https://www.php.net/
  url "https://www.php.net/distributions/php-8.1.2.tar.xz"
  mirror "https://fossies.org/linux/www/php-8.1.2.tar.xz"
  sha256 "6b448242fd360c1a9f265b7263abf3da25d28f2b2b0f5465533b69be51a391dd"
  license "PHP-3.01"

  livecheck do
    url "https://www.php.net/downloads"
    regex(/href=.*?php[._-]v?(\d+(?:\.\d+)+)\.t/i)
  end

  bottle do
    rebuild 1
    sha256 arm64_monterey: "7ec70fa6ae38b906adfa989ea68a556102292dba7f46499b4103f604d0ea44f1"
    sha256 arm64_big_sur:  "96b6724d434b2ace7f2cee907d4739aaf4e8da809c6921ff85d4b5ad33369787"
    sha256 monterey:       "4dddb16c5d32a296b63468728039c1b295375306c12957dfe26ca5019e5b819f"
    sha256 big_sur:        "06cff60cb558c7cab5494eb7165463ea3d653500b4720e50632aef6c91925498"
    sha256 catalina:       "c7437d9bbd76336c0d8ae7c97d867a28ebeea7a9585c0fa8ef652188fbf66c3e"
    sha256 x86_64_linux:   "c5cc1ab736dc47239dfbdd7c9652a9735004fed310420b20f5c9ec034c2d86ca"
  end

  head do
    url "https://github.com/php/php-src.git"

    depends_on "bison" => :build # bison >= 3.0.0 required to generate parsers
    depends_on "re2c" => :build # required to generate PHP lexers
  end

  depends_on "httpd" => [:build, :test]
  depends_on "pkg-config" => :build
  depends_on "apr"
  depends_on "apr-util"
  depends_on "argon2"
  depends_on "aspell"
  depends_on "autoconf"
{'fraction_non_alphanumeric': 0.10656270305393112, 'fraction_numerical': 0.21280051981806367, 'mean_word_length': 4.3828671328671325, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 12, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '566270', 'n_tokens_mistral': 1713, 'n_tokens_neox': 1405, 'n_words': 198}