3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //Enter your code here, enjoy! echo yaml_emit('<p style="text-align: center;"><strong>TESTING CERTYFICATE NO. {ITERATION}/{YEAR}</strong></p> <div style="border-bottom: 1px solid #333; width: 100%;">&nbsp;</div> <p>&nbsp;</p> <ol> <li><strong>Subject of testing: {NAME}</strong> <div style="text-align: center;">quantity 1000 m, drum no. EP-18-0027-11</div> </li> <li><strong>Testing according to the norm<br /></strong> <div>{NORMS}</div> </li> <li><strong>Scope of testing</strong></li> </ol> <div> <table style="height: auto; width: 100%;"> <tbody> <tr> <td style="width: 33%;" rowspan="2">&nbsp;&nbsp;</td> <td style="text-align: center; width: 33%;" colspan="4">Test value&nbsp;</td> <td style="text-align: center; width: 33%;" rowspan="2">Value required</td> </tr> <tr> <td>green-yellow</td> <td>brown</td> <td>black</td> <td>grey</td> </tr> <tr> <td colspan="6">Requirements for the construction and dimensions&nbsp;&nbsp;&nbsp;</td> </tr> <tr> <td>- Construction veryfication</td> <td style="text-align: center;" colspan="4">Manual examination and testing&nbsp;&nbsp;</td> <td style="text-align: center;">Manual examination and testing&nbsp;&nbsp;</td> </tr> <tr> <td> <p>Insulation thickness measurement [mm]</p> </td> <td style="text-align: center;">1,12</td> <td style="text-align: center;">1,13</td> <td style="text-align: center;">1,14</td> <td style="text-align: center;">1,11</td> <td style="text-align: center;">1,1</td> </tr> <tr> <td>&nbsp;- Sheath thickness measurement [mm]</td> <td style="text-align: center;" colspan="4">2,04&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align: center;">2,0</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </div>');
based on 6r3HC
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function yaml_emit() in /in/lpJTg:5 Stack trace: #0 {main} thrown in /in/lpJTg on line 5
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function yaml_emit() in /in/lpJTg on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: yaml_emit() in /in/lpJTg on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: yaml_emit() in /in/lpJTg on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: yaml_emit() in /in/lpJTg on line 5