<?php$a = 3;$b = 5; $arrA = []; for ($i = $a + 1; $i <= $b; $i++) { $arrA[] = $i;} var_dump($arrA);
Standard input is empty
array(2) { [0]=> int(4) [1]=> int(5) }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!