xref: /PHP-8.2/Zend/tests/bug61681.phpt (revision 9a90bd70)
1--TEST--
2Bug #61681: Malformed grammar
3--FILE--
4<?php
5$la = "ooxx";
6
7echo "${substr('laruence', 0, 2)}";
8
9?>
10--EXPECTF--
11Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in %s on line %d
12ooxx
13