3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="body_svg" version="1.1" x="0px" y="0px" preserveAspectRatio="xMinYMin meet" viewBox="0 0 600 800" inkscape:version="0.48.4 r9939" width="100%" height="100%" sodipodi:docname="body_def.svg"> <metadata id="metadata3037"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> <defs id="defs3035" /> <sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1366" inkscape:window-height="746" id="namedview3033" showgrid="false" inkscape:zoom="2.795" inkscape:cx="401.80644" inkscape:cy="509.1414" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="body_group_1" /> <g id="body_group_1"> <g id="g3014"> <path id="right_head" fill="none" stroke="#000000" stroke-linecap="round" d="M294.526,24.076c0,0-9.846-1.224-12.697,0.331 s-8.033,4.405-11.143,7.515s-12.697,9.846-14.251,15.806s2.332,20.729,2.332,20.729s-4.634-2.422-5.701,1.296 s2.073,10.365,2.851,16.065s2.851,10.365,5.701,11.919s2.85,1.555,2.85,1.555s1.296,14.77,3.369,17.361 c0.34,0.425,0.624,0.781,0.862,1.078c1.211,1.514,1.211,1.514,1.211,1.514s1.555,7.514,0.519,9.328s-1.555,5.442-19.693,15.029 c-8.827,4.267-9.045,4.375-16.358,5.577" /> <path id="left_waist" d="M 367.044,419.509 C 367.243,416.06 367.353,412.968 367.353,410.363 367.353,389.618 363.629,382.704 362.565,375.789 361.502,368.874 360.509,353.895 359.445,344.852 357.487,338.648 357.519,335.914 355.119,328.448 352.719,320.982 383.395,296.64727 383.395,291.63468 383.395,286.62209 360.969,273.129 364.694,258.767 367.956,246.184 368.077,231.654 368.056,228.25 368.053,227.769 368.047,227.51 368.047,227.51" inkscape:connector-curvature="0" style="fill:none;stroke:#000000;stroke-linecap:round" sodipodi:nodetypes="csccssccc" /> <path id="left_foot" fill="none" stroke="#000000" stroke-linecap="round" d="M298.299,429.969c0.197,9.981,0.697,31.654,1.5,42.101 c1.064,13.83,4.255,30.851,5.851,40.425s-1.064,14.36-1.596,24.999c-0.533,10.639-0.532,25-3.724,35.105 s9.574,33.511,9.042,38.299c-0.531,4.788-7.446,22.872-7.446,31.383s10.638,34.042,10.106,44.681s-2.66,21.809-2.66,29.255 s-1.596,18.085-4.787,22.873c-3.191,4.788,3.191,12.233,3.191,12.233s-2.659,12.234-1.596,15.958 c1.064,3.724,23.404,2.659,23.404,2.659l27.66-2.128c0,0,0-2.659-4.256-5.851c-4.255-3.191-7.446-2.66-7.446-2.66s0,0-3.724-4.787 s-9.574-11.17-11.702-18.616s10.106-42.554,13.298-56.384s9.043-35.104,9.043-48.935s-7.447-55.852-7.447-67.021 s6.915-45.746,11.17-63.299c3.722-15.349,9.477-56.729,10.862-80.75" /> <path id="joint0" fill="none" stroke="#000000" stroke-linecap="round" d="M298.142,423.819c0,0,0.093,2.916,0.157,6.149" /> <path id="right_chest" fill="none" stroke="#000000" stroke-linecap="round" d="M370.994,207.239c0,0-0.836,7.046-1.819,10.068 c-0.075,0.232-0.151,0.44-0.229,0.62c-0.103,0.241-0.207,0.43-0.311,0.555c-1.197,1.44-13.881,15.191-17.911,16.495 s-16.478,1.067-20.863,0.593s-10.432-8.772-11.854-9.839" /> <path id="left_chest" fill="none" stroke="#000000" stroke-linecap="round" d="M219.979,207.588c0.31,2.786,1.19,9.455,2.386,10.895 s13.88,15.191,17.911,16.495s16.477,1.067,20.863,0.593s10.432-8.772,11.854-9.839" /> <path id="joint1" fill="none" stroke="#000000" stroke-linecap="round" d="M367.629,219.523" /> </g> <path id="joint2" fill="none" stroke="#000000" stroke-linecap="round" d="M58.345,219.523" /> <path id="left_arm" d="M354.613,149.458c0,0,17.866-3.883,23.691-3.107 s27.186,7.379,31.847,7.379s18.254-2.719,23.691-1.165s23.303,5.438,23.303,5.438s1.166-6.603-0.776-17.089 s-4.272-31.459-9.321-42.333s-8.545-19.418-12.04-20.972s-7.769-2.719-10.875-2.719s-4.66,1.554-7.379,1.942 s-6.215-3.107-10.486-2.719s-10.098,3.107-11.263,1.165s-0.776-7.379-0.776-7.379s-1.942-2.719-1.942-4.272 s5.437-12.817,7.379-16.312s4.273-7.768,8.545-5.826s25.633,9.709,30.682,12.428s13.593,8.933,15.535,11.651 s8.156,19.419,13.205,26.021s18.643,31.071,20.973,36.508s11.65,29.128,13.593,34.177s6.604,14.759,5.826,19.031 s-12.816,11.263-19.419,13.981s-29.517,10.098-36.119,11.263s-31.849,1.942-37.285,1.165s-12.428-4.661-17.865-4.661 s-11.65-2.33-16.312,5.438s-12.865,18.29-12.988,19.227" stroke-linecap="round" stroke="#000000" fill="none" /> <path id="right_arm" d="M235.703,149.179c-3.462,0.157-17.46-3.604-23.285-2.828 s-27.186,7.379-31.847,7.379s-18.254-2.719-23.691-1.165s-23.303,5.438-23.303,5.438s-1.166-6.603,0.776-17.089 s4.272-31.459,9.321-42.333s8.545-19.418,12.04-20.972s7.769-2.719,10.875-2.719s4.66,1.554,7.379,1.942s6.215-3.107,10.486-2.719 s10.098,3.107,11.263,1.165s0.776-7.379,0.776-7.379s1.942-2.719,1.942-4.272S193,50.809,191.058,47.314s-4.273-7.768-8.545-5.826 s-25.633,9.709-30.682,12.428s-13.593,8.933-15.535,11.651s-8.156,19.419-13.205,26.021s-18.643,31.071-20.973,36.508 s-11.65,29.128-13.593,34.177s-6.604,14.759-5.826,19.031s12.816,11.263,19.419,13.981s29.517,10.098,36.119,11.263 s31.849,1.942,37.285,1.165s12.428-4.661,17.865-4.661s11.65-2.33,16.312,5.438s10.875,17.089,13.205,20.196" stroke-linecap="round" stroke="#000000" fill="none" /> <g id="g3026"> <path id="left_head" fill="none" stroke="#000000" stroke-linecap="round" d="M295.093,24.076c0,0,10.904-0.833,13.755,0.721 s8.033,4.405,11.143,7.515s12.696,9.846,14.251,15.806s-2.332,20.729-2.332,20.729s4.635-2.422,5.701,1.296 s-2.073,10.365-2.851,16.065s-2.851,10.365-5.701,11.919c-2.85,1.555-2.85,1.555-2.85,1.555s-1.296,14.77-3.369,17.361 c-0.34,0.425-0.624,0.781-0.861,1.078c-1.211,1.514-1.211,1.514-1.211,1.514s-1.556,7.514-0.519,9.328 c1.036,1.814,1.555,5.442,19.693,15.029c8.826,4.267,9.045,4.375,16.358,5.577" /> <path id="right_waist" d="M 223.633,419.899 C 223.434,416.45 223.324,413.358 223.324,410.753 223.324,390.008 227.048,383.094 228.112,376.179 229.175,369.264 230.168,354.285 231.232,345.242 233.19,339.038 233.158,336.304 235.558,328.838 237.958,321.372 207.282,297.25991 207.282,292.24732 207.282,287.23473 229.708,273.519 225.983,259.157 222.721,246.574 224.4,231.543 222.621,228.64 222.005,227.635 222.63,227.9 222.63,227.9" inkscape:connector-curvature="0" style="fill:none;stroke:#000000;stroke-linecap:round" sodipodi:nodetypes="csccssccc" /> <path id="right_foot" fill="none" stroke="#000000" stroke-linecap="round" d="M292.378,430.359c-0.197,9.981-0.697,31.654-1.5,42.101 c-1.064,13.83-4.255,30.851-5.851,40.425s1.064,14.36,1.596,24.999c0.533,10.639,0.532,25,3.724,35.105 s-9.574,33.511-9.042,38.299c0.531,4.788,7.446,22.872,7.446,31.383s-10.638,34.042-10.106,44.681s2.66,21.809,2.66,29.255 s1.596,18.085,4.787,22.873c3.191,4.788-3.191,12.233-3.191,12.233s2.659,12.234,1.596,15.958 c-1.064,3.724-23.404,2.659-23.404,2.659l-27.66-2.128c0,0,0-2.659,4.256-5.851c4.255-3.191,7.446-2.66,7.446-2.66 s0,0,3.724-4.787s9.574-11.17,11.702-18.616s-10.106-42.554-13.298-56.384s-9.043-35.104-9.043-48.935s7.447-55.852,7.447-67.021 s-6.915-45.746-11.17-63.299c-3.722-15.349-9.477-56.729-10.862-80.75" /> <path id="joint3" fill="none" stroke="#000000" stroke-linecap="round" d="M292.602,423.652c0,0-0.16,3.474-0.224,6.707" /> </g> <path id="groin" fill="none" stroke="#000000" stroke-linecap="round" d="M274.659,407.485c0,0,11.642,14.137,16.216,15.384 s8.315,0.416,8.315,0.416l15.384-14.553" /> </g> </svg> '; $xml = simplexml_load_string( $xml); foreach( $xml->xpath( '//path') as &$child) { echo $child['id'] . "\n"; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0120.00918.80
8.3.50.0070.01022.24
8.3.40.0000.01518.97
8.3.30.0210.00019.35
8.3.20.0050.00320.57
8.3.10.0000.00923.90
8.3.00.0050.00322.77
8.2.180.0070.00716.88
8.2.170.0100.00622.96
8.2.160.0100.00322.70
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00018.25
8.2.110.0060.00321.54
8.2.100.0110.00018.28
8.2.90.0000.00819.67
8.2.80.0080.00018.13
8.2.70.0030.00617.88
8.2.60.0080.00018.43
8.2.50.0040.00418.13
8.2.40.0040.00718.47
8.2.30.0000.00818.48
8.2.20.0040.00418.07
8.2.10.0040.00418.17
8.2.00.0050.00319.91
8.1.280.0120.00325.92
8.1.270.0040.00424.38
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00422.70
8.1.230.0120.00021.23
8.1.220.0000.00818.29
8.1.210.0030.00618.77
8.1.200.0000.00917.85
8.1.190.0050.00318.03
8.1.180.0060.00318.10
8.1.170.0000.00918.88
8.1.160.0020.00522.50
8.1.150.0060.00319.11
8.1.140.0090.00017.85
8.1.130.0000.00818.29
8.1.120.0000.00717.85
8.1.110.0000.00717.98
8.1.100.0000.00717.99
8.1.90.0000.00817.77
8.1.80.0040.00417.81
8.1.70.0030.00517.79
8.1.60.0030.00517.99
8.1.50.0040.00418.04
8.1.40.0000.00817.75
8.1.30.0050.00317.92
8.1.20.0030.00517.96
8.1.10.0000.00818.02
8.1.00.0000.00917.76
8.0.300.0040.00418.77
8.0.290.0050.00317.13
8.0.280.0000.00718.85
8.0.270.0000.00717.63
8.0.260.0040.00418.89
8.0.250.0070.00017.37
8.0.240.0070.00017.45
8.0.230.0000.00717.21
8.0.220.0000.00717.27
8.0.210.0000.00717.29
8.0.200.0030.00317.25
8.0.190.0050.00217.51
8.0.180.0000.00817.29
8.0.170.0050.00317.22
8.0.160.0080.00017.40
8.0.150.0040.00417.38
8.0.140.0050.00317.18
8.0.130.0000.00613.86
8.0.120.0030.00617.42
8.0.110.0000.00817.38
8.0.100.0000.00717.33
8.0.90.0040.00417.39
8.0.80.0100.01017.35
8.0.70.0070.00017.35
8.0.60.0050.00317.28
8.0.50.0040.00417.16
8.0.30.0140.00517.55
8.0.20.0160.00517.71
8.0.10.0050.00217.46
8.0.00.0080.01117.24
7.4.330.0000.00515.46
7.4.320.0040.00416.96
7.4.300.0000.00617.06
7.4.290.0070.00017.11
7.4.280.0040.00417.07
7.4.270.0070.00017.04
7.4.260.0000.00716.93
7.4.250.0070.00016.98
7.4.240.0070.00016.90
7.4.230.0040.00417.17
7.4.220.0070.01517.12
7.4.210.0080.00817.06
7.4.200.0050.00216.95
7.4.190.0040.00416.93
7.4.160.0100.00616.94
7.4.150.0100.00917.40
7.4.140.0110.00717.86
7.4.130.0140.00816.87
7.4.120.0080.01216.99
7.4.110.0060.01217.03
7.4.100.0080.01217.04
7.4.90.0120.00816.90
7.4.80.0120.01116.98
7.4.70.0100.00716.80
7.4.60.0080.00816.73
7.4.50.0000.01017.07
7.4.40.0070.00722.77
7.4.30.0100.00716.88
7.4.00.0090.00615.00
7.3.330.0060.00013.48
7.3.320.0000.00613.48
7.3.310.0000.00716.41
7.3.300.0040.00416.67
7.3.290.0100.00716.60
7.3.280.0080.00816.69
7.3.270.0100.00717.40
7.3.260.0070.01016.64
7.3.250.0140.00516.81
7.3.240.0030.01316.61
7.3.230.0140.00716.57
7.3.210.0120.00616.69
7.3.200.0070.01019.39
7.3.190.0130.00616.97
7.3.180.0070.01516.65
7.3.170.0030.01316.87
7.3.160.0070.01116.79
7.3.120.0030.01015.00
7.2.330.0160.00217.25
7.2.320.0090.01217.14
7.2.310.0040.01617.07
7.2.300.0130.00516.78
7.2.290.0120.00917.01
7.2.00.0030.01219.93
7.1.100.0030.00918.42
7.1.70.0000.00817.38
7.1.60.0140.01119.32
7.1.50.0090.01217.01
7.1.00.0100.07022.62
7.0.200.0030.00316.79
7.0.140.0100.07022.31
7.0.60.0130.07720.26
7.0.50.0030.08318.07
7.0.40.0030.05720.52
7.0.30.0270.04020.40
7.0.20.0200.03720.38
7.0.10.0100.04720.46
7.0.00.0030.06320.26
5.6.280.0070.07321.20
5.6.210.0130.07320.93
5.6.200.0100.05318.41
5.6.190.0070.07720.88
5.6.180.0330.05020.64
5.6.170.0370.03720.62
5.6.160.0000.05020.71
5.6.150.0130.07318.41
5.6.140.0130.05318.37
5.6.130.0070.04018.41
5.6.120.0200.05721.22
5.6.110.0070.10021.21
5.6.100.0030.06021.29
5.6.90.0030.07021.20
5.6.80.0100.07020.74
5.6.70.4300.03720.58
5.5.350.0070.03720.55
5.5.340.0100.08318.14
5.5.330.0070.06020.72
5.5.320.0030.04320.61
5.5.310.0230.07320.46
5.5.300.0100.06018.17
5.5.290.0070.05018.14
5.5.280.0130.08321.01
5.5.270.0100.08021.00
5.5.260.0070.08021.18
5.5.250.0230.08020.81
5.5.240.0000.04020.50
5.4.450.0870.04719.57
5.4.440.0670.04019.44
5.4.430.0270.03019.45
5.4.420.0270.03719.56
5.4.410.0300.04019.28
5.4.400.0300.06318.72
5.4.390.0400.06718.52
5.4.380.0830.04718.71
5.4.370.0270.05318.50
5.4.360.0200.05318.55
5.4.350.0500.04018.73
5.4.340.0600.03318.68
5.4.320.0130.04012.49
5.4.310.0080.04012.48
5.4.300.0040.03712.49
5.4.290.0050.03912.48
5.4.280.0030.03812.38
5.4.270.0080.03912.38
5.4.260.0080.03712.38
5.4.250.0020.04012.38
5.4.240.0070.03912.38
5.4.230.0040.04012.38
5.4.220.0070.03712.37
5.4.210.0050.04212.38
5.4.200.0070.04012.37
5.4.190.0160.04312.37
5.4.180.0160.04212.37
5.4.170.0160.04112.38
5.4.160.0190.04412.37
5.4.150.0130.04512.37
5.4.140.0140.04712.05
5.4.130.0230.03812.04
5.4.120.0300.08612.00
5.4.110.0170.03911.99
5.4.100.0130.04411.99
5.4.90.0120.04712.00
5.4.80.0100.04711.99
5.4.70.0180.03911.98
5.4.60.0180.04011.99
5.4.50.0210.03711.99
5.4.40.0160.04111.97
5.4.30.0130.05011.98
5.4.20.0300.09011.98
5.4.10.0200.04211.97
5.4.00.0340.08411.46
5.3.290.0030.04112.80
5.3.280.0050.04112.71
5.3.270.0160.04412.72
5.3.260.0160.04412.72
5.3.250.0160.04612.72
5.3.240.0130.04712.72
5.3.230.0190.04612.71
5.3.220.0160.04312.68
5.3.210.0170.04412.68
5.3.200.0190.04112.68
5.3.190.0150.04712.68
5.3.180.0120.04812.67
5.3.170.0150.04412.67
5.3.160.0170.04412.67
5.3.150.0120.05412.68
5.3.140.0200.04112.66
5.3.130.0310.09012.66
5.3.120.0180.04312.66
5.3.110.0180.04512.66
5.3.100.0210.04112.12
5.3.90.0140.04412.08
5.3.80.0190.07112.07
5.3.70.0110.05012.08
5.3.60.0160.04312.07
5.3.50.0160.04412.00
5.3.40.0180.04112.00
5.3.30.0140.04211.97
5.3.20.0100.04611.74
5.3.10.0140.04211.70
5.3.00.0240.09311.68
5.2.170.0080.0399.20
5.2.160.0100.0369.19
5.2.150.0110.0369.19
5.2.140.0140.0339.19
5.2.130.0090.0379.16
5.2.120.0130.0339.15
5.2.110.0140.0339.16
5.2.100.0340.1059.16
5.2.90.0150.0319.16
5.2.80.0110.0359.15
5.2.70.0140.0329.15
5.2.60.0120.0349.11
5.2.50.0150.0319.07
5.2.40.0110.0359.05
5.2.30.0150.0619.03
5.2.20.0140.0329.02
5.2.10.0100.0358.94
5.2.00.0320.0748.80
5.1.60.0090.0318.09
5.1.50.0090.0328.07
5.1.40.0110.0318.07
5.1.30.0090.0338.41
5.1.20.0130.0298.45
5.1.10.0120.0308.16
5.1.00.0080.0328.15
5.0.50.0070.0276.64
5.0.40.0150.0196.49
5.0.30.0090.0356.31
5.0.20.0070.0296.29
5.0.10.0120.0216.26
5.0.00.0140.0326.25
4.4.90.0190.0374.78
4.4.80.0100.0194.75
4.4.70.0040.0234.76
4.4.60.0120.0164.75
4.4.50.0090.0174.77
4.4.40.0080.0304.71
4.4.30.0080.0184.76
4.4.20.0100.0174.84
4.4.10.0070.0194.85
4.4.00.0090.0284.76
4.3.110.0080.0174.67
4.3.100.0090.0164.66
4.3.90.0060.0184.63
4.3.80.0090.0274.58
4.3.70.0150.0414.63
4.3.60.0080.0164.63
4.3.50.0080.0174.62
4.3.40.0080.0264.54
4.3.30.0070.0173.30
4.3.20.0070.0173.30
4.3.10.0060.0173.26
4.3.00.0030.01315.44

preferences:
43.63 ms | 401 KiB | 5 Q