<commit_before><?php

	function src($key, $num) {
		$srcArray = array(
			'apcImg' => 'airPowerCourses/image'.$num.'.jpg',
		);
		return $srcArray[$key];
	}

?><commit_msg>Improvement to PHP src function<commit_after><?php
//A function for easily referencing content image src paths

//usage:
//src('example','girl') >> '/assets/images/content/example/girl.jpg'
//src('example','boy','png') >> '/assets/images/content/example/boy.png'

	function src($folder, $fileName, $ext) {
		$basePath = '/assets/images/content/';
		$ext = isset($ext)? $ext : 'jpg';//default extension is.jpg
		return $basePath.$folder.'/'.$fileName.'.'.$ext;
	}

?>
{'fraction_non_alphanumeric': 0.21786833855799373, 'fraction_numerical': 0.0, 'mean_word_length': 4.415254237288136, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '3306060', 'n_tokens_mistral': 228, 'n_tokens_neox': 223, 'n_words': 43}