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

echo "--- Installing PHP and packages ---"
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5-dev php5-cli php-pear php5-curl php5-gd php5-mcrypt php5-readline

# comment out disabled functions for CLI to enable Boris (L4.1 tinker)
sed -i "s/disable_functions/;disable_functions/" /etc/php5/cli/php.ini<commit_msg>add libpcre3-dev<commit_after>#!/usr/bin/env bash

echo "--- Installing PHP and packages ---"
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5-dev php5-cli php-pear php5-curl php5-gd php5-mcrypt php5-readline libpcre3-dev

# comment out disabled functions for CLI to enable Boris (L4.1 tinker)
sed -i "s/disable_functions/;disable_functions/" /etc/php5/cli/php.ini
{'fraction_non_alphanumeric': 0.11868686868686869, 'fraction_numerical': 0.027777777777777776, 'mean_word_length': 4.116129032258065, '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': '6114166', 'n_tokens_mistral': 315, 'n_tokens_neox': 282, 'n_words': 79}