- Output for 5.5.0 - 5.5.37, 5.6.0 - 5.6.23, 7.0.0 - 7.0.8
- Parse error: syntax error, unexpected 'preg_match' (T_STRING) in /in/j2WQY on line 5
Process exited with code 255.
<?php
$matches = [];
$message = 'Stack:arn:aws:cloudformation:us-west-2:717531488628:stack/magento-env-stage-mounttargets/9f7206d0-3e1e-11e6-941a-50d5ca0184f2 is in CREATE_FAILED state and can not be updated.'
preg_match('/~Stack\[(.+)\] is in ([A-Z_]+) state and can not be updated./', $message, $matches);
var_dump($matches);