3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = '1AA/example/example'; $arr = preg_split('/(?<=[0-9])(?=[a-z]+)/i',$var); $arr[0] +=1; $var = implode('',$arr); echo ($var);
based on PCSoF
Output for 5.6.38 - 7.3.0rc3
2AA/example/example