<commit_before>#!/usr/bin/env zsh

# Ask for the administrator password upfront
sudo -v
echo

brew install php@8.1
brew install blackfire-php81
sudo pecl channel-update pecl.php.net
sudo pecl install igbinary
sudo pecl install apcu
sudo pecl install imagick
sudo pecl install xdebug
sudo pecl install redis
sudo pecl install memcached
sudo pecl install ast
sudo pecl install yaml

brew unlink php@8.1
brew install php@8.0
brew install blackfire-php80
brew link php@8.0
sudo pecl channel-update pecl.php.net
sudo pecl install igbinary<commit_msg>Update php.sh<commit_after>#!/usr/bin/env zsh

# Ask for the administrator password upfront
sudo -v
echo


brew install php@8.1
brew install blackfire-php81
PHP_VERSION="`php -r \"error_reporting(0); echo phpversion();\"`"
ln -s /opt/homebrew/Cellar/pcre2/10.39/include/pcre2.h /opt/homebrew/Cellar/php/$PHP_VERSION/include/php/ext/pcre/pcre2.h
sudo pecl channel-update pecl.php.net
sudo pecl install igbinary
sudo pecl install apcu
sudo pecl install imagick
sudo pecl install xdebug
sudo pecl install redis
sudo pecl install memcached
sudo pecl install ast
sudo pecl install yaml

brew unlink php@8.1
brew install php@8.0
brew link php@8.0
PHP_VERSION="`php -r \"error_reporting(0); echo phpversion();\"`"
ln -s /opt/homebrew/Cellar/pcre2/10.36/include/pcre2.h /opt/homebrew/Cellar/php/$PHP_VERSION/include/php/ext/pcre/pcre2.h
brew install blackfire-php80
sudo pecl channel-update pecl.php.net
sudo pecl install igbinary
{'fraction_non_alphanumeric': 0.08793456032719836, 'fraction_numerical': 0.027266530334014997, 'mean_word_length': 4.7795275590551185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3162258', 'n_tokens_mistral': 558, 'n_tokens_neox': 505, 'n_words': 164}