<?php
$texts = array('a', 'b', 'c', 'd', 'e', 'f', 'g');
$whatever = array_slice($texts, 0, -3, true)
print_r($whatever);
- Output for 5.4.0 - 5.4.28
- Parse error: syntax error, unexpected 'print_r' (T_STRING) in /in/JNI95 on line 5
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_STRING in /in/JNI95 on line 5
Process exited with code 255.
preferences:
178.65 ms | 1395 KiB | 65 Q