<?php
$a = 'foo';
$a = (array)$a;
$a[] = 'bar';
print_r($a);
Abusive script
This script was stopped while abusing our resources
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.9, 5.5.11, 5.5.13 - 5.5.17, 5.5.19, 5.5.21, 5.5.23 - 5.5.24, 5.5.26, 5.5.28 - 5.5.30, 5.5.32 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
- Array
(
[0] => foo
[1] => bar
)
- Output for 5.5.10, 5.5.12, 5.5.18, 5.5.20, 5.5.22, 5.5.25, 5.5.27, 5.5.31
Process exited with code 137.
preferences:
222.07 ms | 402 KiB | 325 Q