3v4l.org

run code in 300+ PHP versions simultaneously
<?php $BRANCHING_PROFILE = "09. Reading Comprehension - Post Test"; if (preg_match('(Reading Comprehension)' , $BRANCHING_PROFILE ) === 1) { $code='AC2'; } else if (preg_match('/Sentence Skills/i' ,$BRANCHING_PROFILE) === 1) { $code='AC1'; } else if (preg_match('/Arithmetic/i', $BRANCHING_PROFILE) === 1) { $code='AC5'; } else if (preg_match('/Elementary Algebra/i', $BRANCHING_PROFILE) === 1) { $code='AC6'; } else if (preg_match('/College Level Math/i', $BRANCHING_PROFILE) === 1) { $code='AC7'; } if (preg_match('(Reading Comprehension - Post Test)', $BRANCHING_PROFILE) === 1) { $code='PA2'; } else if (preg_match('/Sentence Skills - Post Test/i', $BRANCHING_PROFILE) === 1) { $code='PA1'; } else if (preg_match('/Arithmetic - Post Test/i', $BRANCHING_PROFILE) === 1) { $code='PA5'; } else if (preg_match('/Elementary Algebra - Post Test/i', $BRANCHING_PROFILE) === 1) { $code='PA6'; } else if (preg_match('/College Level Math - Post Test/i', $BRANCHING_PROFILE) === 1) { $code='PA7'; } var_dump(preg_match('(Reading Comprehension - Post Test)', $BRANCHING_PROFILE)); echo "Branching Profile: " . $BRANCHING_PROFILE . "\n\r"; echo "Code: " . $code;
Output for git.master, git.master_jit, rfc.property-hooks
int(1) Branching Profile: 09. Reading Comprehension - Post Test Code: PA2

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
99.43 ms | 405 KiB | 5 Q