3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $txtCff2="$BOF V2 ORDER I,Created by ArtiosCAD version 7.70 on 11/28/2012-13:52:18 END MAIN,F12E0435A1 UM LL,0,-2.871 UR,623.9095,539.1891 SCALE,1,1 C,12E0435A1,79.9548,180.9843,0,1,1 C,12E0435A1,163.4548,180.9843,0,1,1 C,12E0435A1,246.9547,180.9843,0,1,1 C,12E0435A1,330.4547,180.9843,0,1,1 C,12E0435A1,413.9548,180.9843,0,1,1 C,12E0435A1,497.4548,180.9843,0,1,1 C,12E0435A1,79.9548,385.9843,0,1,1 C,12E0435A1,163.4548,385.9843,0,1,1 C,12E0435A1,246.9547,385.9843,0,1,1 C,12E0435A1,330.4547,385.9843,0,1,1 C,12E0435A1,413.9548,385.9843,0,1,1 C,12E0435A1,497.4548,385.9843,0,1,1 L,0,20,0,541.7838,68.7343,573.1198,68.7343,0,0 A,1,20,0,570.1993,68.7343,567.3956,81.5843,521.7892,64.9029,1,0,0 A,1,20,0,570.1993,68.7343,573.0029,81.5843,618.6094,64.9029,-1,0,0 L,1,20,0,573.0029,81.5843,567.3956,81.5843,0,0 L,0,20,0,570.1993,81.5843,570.1993,274.8499,0,0 T,0,20,0,553.3753,280.1169,0,6.8345,6.8345 429.5 L,0,20,0,570.1993,292.1187,570.1993,485.3843,0,0 A,1,20,0,573.0029,485.3843,570.1993,498.2343,618.6094,502.0657,-1,0,0 A,1,20,0,567.3956,485.3843,570.1993,498.2343,521.7892,502.0657,1,0,0 L,1,20,0,567.3956,485.3843,573.0029,485.3843,0,0 L,0,20,0,573.1198,498.2343,541.7838,498.2343,0,0 L,0,20,0,556.7847,53.4843,573.1203,53.4843,0,0 A,1,20,0,570.1993,53.4843,573.0034,40.6319,618.6185,57.3163,1,0,0 A,1,20,0,570.1993,53.4843,567.3951,40.6319,521.78,57.3163,-1,0,0 L,1,20,0,567.3951,40.6319,573.0034,40.6319,0,0 L,0,20,0,570.1993,40.6319,570.1993,27.7795,0,0 T,0,20,0,553.3721,57.7413,0,6.8358,6.8358 15.25 L,0,20,0,573.1203,68.7343,541.7848,68.7343,0,0 L,0,20,0,556.7847,513.4843,572.5149,513.4843,0,0 A,1,20,0,569.5939,513.4843,566.7897,526.3367,521.1746,509.6523,1,0,0 A,1,20,0,569.5939,513.4843,572.398,526.3367,618.0131,509.6523,-1,0,0 L,1,20,0,572.398,526.3367,566.7897,526.3367,0,0 L,0,20,0,569.5939,526.3367,569.5939,539.1891,0,0 T,0,20,0,552.7667,502.4913,0,6.8358,6.8358 15.25 L,0,20,0,572.5149,498.2343,541.7848,498.2343,0,0 L,0,20,0,556.7847,513.4843,617.9172,513.4843,0,0 A,1,20,0,614.9962,513.4843,617.8003,500.6319,663.4154,517.3163,1,0,0 A,1,20,0,614.9962,513.4843,612.192,500.6319,566.5769,517.3163,-1,0,0 L,1,20,0,612.192,500.6319,617.8003,500.6319,0,0 L,0,20,0,614.9962,500.6319,614.9962,292.1203,0,0 T,0,20,0,604.0172,280.1163,0,6.8358,6.8358 460 L,0,20,0,614.9962,274.8483,614.9962,66.3367,0,0 A,1,20,0,612.192,66.3367,614.9962,53.4843,566.5769,49.6523,-1,0,0 A,1,20,0,617.8003,66.3367,614.9962,53.4843,663.4154,49.6523,1,0,0 L,1,20,0,617.8003,66.3367,612.192,66.3367,0,0 L,0,20,0,617.9172,53.4843,556.7847,53.4843,0,0 L,0,20,0,536.7048,63.6543,536.7048,30.6178,0,0 A,1,20,0,536.7048,33.5388,523.8524,30.7346,540.5369,-14.8805,1,0,0 A,1,20,0,536.7048,33.5388,523.8524,36.3429,540.5369,81.958,-1,0,0 L,1,20,0,523.8524,36.3429,523.8524,30.7346,0,0 L,0,20,0,523.8524,33.5388,303.1017,33.5387,0,0 T,0,20,0,277.7259,30.1707,0,6.8358,6.8358 496 L,0,20,0,274.308,33.5387,53.5573,33.5387,0,0 A,1,20,0,53.5573,36.3428,40.7049,33.5387,36.8728,81.9579,-1,0,0 A,1,20,0,53.5573,30.7345,40.7049,33.5387,36.8728,-14.8806,1,0,0 L,1,20,0,53.5573,30.7345,53.5573,36.3428,0,0 L,0,20,0,40.7049,30.6177,40.7049,63.6543,0,0 L,0,20,0,25.7048,48.4043,25.7048,31.45,0,0 A,1,20,0,25.7048,34.371,12.8524,31.5669,29.5369,-14.0482,1,0,0 A,1,20,0,25.7048,34.371,12.8524,37.1752,29.5369,82.7903,-1,0,0 L,1,20,0,12.8524,37.1752,12.8524,31.5669,0,0 L,0,20,0,12.8524,34.371,0,34.371,0,0 T,0,20,0,26.1274,31.003,0,6.8358,6.8358 15 L,0,20,0,40.7049,31.45,40.7049,63.6543,0,0 L,0,20,0,536.7048,63.6543,536.7048,28.1205,0,0 T,0,20,0,537.1273,27.6735,0,6.8358,6.8358 15 L,0,20,0,577.4095,31.0415,564.5572,31.0415,0,0 A,1,20,0,564.5572,33.8457,551.7048,31.0415,547.8727,79.4608,-1,0,0 A,1,20,0,564.5572,28.2374,551.7048,31.0415,547.8727,-17.3777,1,0,0 L,1,20,0,564.5572,28.2374,564.5572,33.8457,0,0 L,0,20,0,551.7048,28.1205,551.7048,48.4043,0,0 L,0,20,0,551.7048,48.4043,551.7048,0.6521,0,0 A,1,20,0,551.7048,3.5731,538.8524,0.769,555.5369,-44.8461,1,0,0 A,1,20,0,551.7048,3.5731,538.8524,6.3773,555.5369,51.9924,-1,0,0 L,1,20,0,538.8524,6.3773,538.8524,0.769,0,0 L,0,20,0,538.8524,3.5731,303.1017,3.5731,0,0 T,0,20,0,277.7259,0.2051,0,6.8358,6.8358 526 L,0,20,0,274.308,3.5731,38.5572,3.5731,0,0 A,1,20,0,38.5572,6.3773,25.7048,3.5731,21.8727,51.9924,-1,0,0 A,1,20,0,38.5572,0.769,25.7048,3.5731,21.8727,-44.8461,1,0,0 L,1,20,0,38.5572,0.769,38.5572,6.3773,0,0 L,0,20,0,25.7048,0.6521,25.7048,48.4043,0,0 A,1,20,0,458.2048,200.0139,471.0572,202.8181,454.3727,248.4332,1,0,0 A,1,20,0,458.2048,200.0139,471.0572,197.2098,454.3727,151.5947,-1,0,0 L,1,20,0,471.0572,197.2098,471.0572,202.8181,0,0 L,0,20,0,471.0572,200.0139,483.9096,200.0139,0,0 T,0,20,0,417.7302,196.6459,0,6.8358,6.8358 5 L,0,20,0,427.5,200.0139,440.3524,200.0139,0,0 A,1,20,0,440.3524,197.2098,453.2048,200.0139,457.0369,151.5947,-1,0,0 A,1,20,0,440.3524,202.8181,453.2048,200.0139,457.0369,248.4332,1,0,0 L,1,20,0,440.3524,202.8181,440.3524,197.2098,0,0 A,1,20,0,206.9049,268.7343,209.7091,255.8819,255.3242,272.5664,1,0,0 A,1,20,0,206.9049,268.7343,204.1008,255.8819,158.4856,272.5664,-1,0,0 L,1,20,0,204.1008,255.8819,209.7091,255.8819,0,0 L,0,20,0,206.9049,255.8819,206.9049,243.0295,0,0 T,0,20,0,203.7289,304.7071,0,6.8358,6.8358 5 L,0,20,0,206.9049,299.4391,206.9049,286.5867,0,0 A,1,20,0,204.1008,286.5867,206.9049,273.7343,158.4856,269.9023,-1,0,0 A,1,20,0,209.7091,286.5867,206.9049,273.7343,255.3242,269.9023,1,0,0 L,1,20,0,209.7091,286.5867,204.1008,286.5867,0,0 L,0,20,0,203.9839,273.7343,220.8935,273.7343,0,0 L,0,98,0,25.7048,53.4843,551.7048,53.4843,0,0 L,0,98,0,551.7048,53.4843,551.7048,513.4843,0,0 L,0,98,0,551.7048,513.4843,25.7048,513.4843,0,0 L,0,98,0,25.7048,513.4843,25.7048,53.4843,0,0 L,0,97,0,40.7048,68.7343,536.7048,68.7343,0,0 L,0,97,0,536.7048,68.7343,536.7048,498.2343,0,0 L,0,97,0,536.7048,498.2343,40.7048,498.2343,0,0 L,0,97,0,40.7048,498.2343,40.7048,68.7343,0,0 END SUB,12E0435A1 L,2,2,0,-28.25,-87.25,-28.25,87.75,2,5 L,2,2,0,-8.25,-87.25,-8.25,87.75,2,5 L,2,2,0,5.75,-87.25,5.75,87.75,2,5 L,2,2,0,5.75,88.25,25.75,88.25,1,5 L,2,2,0,25.75,87.75,39.25,87.75,1,3 L,2,2,0,-8.25,-87.75,-28.25,-87.75,1,5 L,2,2,0,-22.817,-100.25,-13.683,-100.25,1,3 L,2,1,0,39.25,-87.25,39.25,87.75,2,5 L,2,1,0,-8.25,87.75,-28.25,87.75,1,5 A,2,1,0,5.75,87.75,2.7853,91.6137,6.7853,91.6137,-1,0,0 A,2,1,0,25.75,87.75,28.7147,91.6137,24.7147,91.6137,1,0,0 L,2,1,0,-28.25,-87.25,-28.25,-101,1,3 L,2,1,0,-8.25,-87.25,-8.25,-101,1,3 A,2,1,0,-8.25,-87.25,-5.2853,-91.1137,-9.2853,-91.1137,-1,0,0 L,2,1,0,-5.2853,-91.1137,-5.2853,-98.75,0,0 A,2,1,0,39.25,-87.25,36.2853,-91.1137,40.2853,-91.1137,1,0,0 L,2,1,0,36.2853,-91.1137,36.2853,-98.75,0,0 L,2,1,0,-28.25,-101,-23.25,-101,0,0 L,2,1,0,-23.25,-101,-22.384,-99.5,0,0 L,2,1,0,-8.25,-101,-13.25,-101,0,0 L,2,1,0,-13.25,-101,-14.116,-99.5,0,0 A,2,1,0,-27.75,-101,-20.9812,-112.25,-13.7701,-100.25,1,0,0 A,2,1,0,-8.75,-101,-15.5188,-112.25,-22.7299,-100.25,-1,0,0 L,2,1,0,-20.9812,-112.25,-15.5188,-112.25,0,0 L,2,1,0,5.75,-87.25,5.45,-87.25,0,0 L,2,1,0,4.6462,-90.25,1.6462,-93.25,0,0 L,2,1,0,1.6462,-93.25,0.1724,-98.75,0,0 L,2,1,0,5.45,-87.25,4.6462,-90.25,0,0 L,2,2,0,5.45,-87.25,-8.25,-87.25,1,5 L,2,1,0,25.75,-87.25,5.75,-87.25,1,5 L,2,2,0,25.75,-87.25,25.75,87.75,2,5 L,2,1,0,25.75,-87.25,26.05,-87.25,0,0 L,2,1,0,26.8539,-90.25,29.8539,-93.25,0,0 L,2,1,0,29.8539,-93.25,31.3276,-98.75,0,0 L,2,1,0,26.05,-87.25,26.8539,-90.25,0,0 L,2,1,0,-8.25,87.75,-8,87.75,0,0 L,2,1,0,-7.1962,90.75,-4.1962,93.75,0,0 L,2,1,0,-8,87.75,-7.1962,90.75,0,0 L,2,2,0,-8,87.75,5.75,87.75,1,5 L,2,1,0,39.25,87.75,38.4461,90.75,0,0 L,2,1,0,38.4461,90.75,35.4461,93.75,0,0 L,2,1,0,-28.25,87.75,-39.25,84.8026,0,0 L,2,1,0,-28.25,-87.25,-39.25,-84.3026,0,0 L,2,1,0,-39.25,-84.3026,-39.25,84.8026,2,5 L,2,2,0,26.05,-87.25,39.25,-87.25,1,5 A,2,1,0,5.95,105.5,11.931,112.25,17.2637,101.5,-1,0,0 L,2,2,0,5.95,104.25,10.95,104.25,0,0 L,2,1,0,5.75,87.75,5.75,100,1,5 L,2,1,0,18.5,112.25,11.931,112.25,0,0 L,2,2,0,6.5181,101.25,24.9818,101.25,0,0 L,2,1,0,5.75,100,6.9522,101.9563,0,0 A,2,1,0,6.9522,101.9563,6.8878,102.5015,6.5049,102.1799,1,0,0 L,2,1,0,6.8878,102.5015,5.95,103.5,0,0 L,2,1,0,5.95,103.5,5.95,105.5,0,0 L,2,1,0,28.7147,91.6137,28.7147,99.25,0,0 L,2,1,0,2.7853,91.6137,2.7853,99.25,0,0 A,2,1,0,25.55,105.5,19.569,112.25,14.2363,101.5,1,0,0 L,2,1,0,25.75,100,24.5478,101.9563,0,0 A,2,1,0,24.5478,101.9563,24.6122,102.5015,24.995,102.1799,-1,0,0 L,2,1,0,24.6122,102.5015,25.55,103.5,0,0 L,2,1,0,18.5,112.25,19.569,112.25,0,0 L,2,1,0,25.55,103.5,25.55,105.5,0,0 L,2,1,0,25.75,87.75,25.75,100,1,5 L,2,2,0,25.55,104.25,20.55,104.25,0,0 L,2,1,0,-4.1962,93.75,-2.7225,99.25,0,0 L,2,1,0,35.4461,93.75,33.9724,99.25,0,0 L,2,1,0,-2.7225,99.25,2.7853,99.25,0,0 L,2,1,0,28.7147,99.25,33.9724,99.25,0,0 L,2,1,0,-5.2853,-98.75,0.1725,-98.75,0,0 L,2,1,0,31.3276,-98.75,36.2853,-98.75,0,0 END $EOF"; preg_match("#^C(.*)#", $txtCff2, $posesLines); print_r($posesLines); foreach($posesLines as $lines) { if(isset($lines)) { $tLines=explode(",", $lines); $ret[]=$tLines; } } print_r($ret); ?>
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: BOF in /in/HCODh on line 2 Notice: Undefined variable: EOF in /in/HCODh on line 206 Array ( ) Notice: Undefined variable: ret in /in/HCODh on line 221
Output for 5.2.3 - 5.6.28
Notice: Undefined variable: BOF in /in/HCODh on line 206 Notice: Undefined variable: EOF in /in/HCODh on line 206 Array ( ) Notice: Undefined variable: ret in /in/HCODh on line 221
Output for 5.0.4 - 5.2.2
Notice: Undefined variable: BOF in /in/HCODh on line 3 Notice: Undefined variable: EOF in /in/HCODh on line 206 Array ( ) Notice: Undefined variable: ret in /in/HCODh on line 221
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: BOF in /in/HCODh on line 3 Notice: Undefined variable: EOF in /in/HCODh on line 206 Array ( ) Notice: Undefined variable: ret in /in/HCODh on line 221
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: BOF in /in/HCODh on line 206 Notice: Undefined variable: EOF in /in/HCODh on line 206 Array ( ) Notice: Undefined variable: ret in /in/HCODh on line 221