3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Get RSS Feed(s) // Get a SimplePie feed object from the specified feed source. $rss = fetch_feed( 'http://applythis.net/RaynerPersonnel/Search/rss/All/1' ); $maxitems = 0; if ( ! is_wp_error( $rss ) ) : // Checks that the object is created correctly // Figure out how many total items there are, but limit it to 4. $maxitems = $rss->get_item_quantity( 4 ); // Build an array of all the items, starting with element 0 (first element). $rss_items = $rss->get_items( 0, $maxitems ); endif; ?> <div class="nJobs-container Jobs-container--alt"> <?php if ( $maxitems == 0 ) : ?> <span><?php _e( 'No items', 'my-text-domain' ); ?></span> <?php else : ?> <?php // Loop through each feed item and display each item as a hyperlink. ?> <?php foreach ( $rss_items as $item ) : ?> <a href="<?php echo esc_url( $item->get_link() ); ?>" title="rss feed" class="nJobs-job"> <span class="Jobs-role"><?php echo esc_html( $item->get_title() ); ?></span> <span class="Jobs-readmore Button">More info</span> </a> <?php endforeach; ?> <?php endif; ?> </div>

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.70.0070.01116.63
8.3.60.0120.00318.68
8.3.50.0110.00616.47
8.3.40.0090.00618.96
8.3.30.0040.01118.67
8.3.20.0040.00420.34
8.3.10.0030.00623.50
8.3.00.0080.00019.67
8.2.180.0100.01018.54
8.2.170.0070.01122.96
8.2.160.0080.00618.85
8.2.150.0060.00624.18
8.2.140.0050.00224.66
8.2.130.0040.00419.22
8.2.120.0040.00426.35
8.2.110.0030.00720.52
8.2.100.0090.00319.51
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0090.00017.80
8.2.50.0040.00418.10
8.2.40.0000.00720.53
8.2.30.0040.00420.96
8.2.20.0040.00418.08
8.2.10.0040.00418.03
8.2.00.0040.00418.09
8.1.280.0100.01025.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0070.00322.67
8.1.230.0040.00717.64
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0080.00018.46
8.1.160.0000.00718.88
8.1.150.0070.00020.61
8.1.140.0080.00019.46
8.1.130.0030.00318.65
8.1.120.0040.00417.23
8.1.110.0080.00017.31
8.1.100.0000.00717.27
8.1.90.0000.00717.25
8.1.80.0040.00417.38
8.1.70.0070.00017.39
8.1.60.0000.00817.39
8.1.50.0000.00817.52
8.1.40.0060.00317.32
8.1.30.0000.00817.47
8.1.20.0030.00617.50
8.1.10.0000.00817.57
8.1.00.0040.00417.47
8.0.300.0040.00419.91
8.0.290.0070.00016.58
8.0.280.0070.00018.36
8.0.270.0030.00317.21
8.0.260.0030.00316.75
8.0.250.0070.00016.99
8.0.240.0070.00016.95
8.0.230.0040.00416.88
8.0.220.0070.00016.91
8.0.210.0000.00716.84
8.0.200.0000.00616.96
8.0.190.0090.00016.93
8.0.180.0040.00416.83
8.0.170.0040.00416.83
8.0.160.0000.00816.80
8.0.150.0000.00716.86
8.0.140.0000.00716.83
8.0.130.0050.00013.30
8.0.120.0080.00016.91
8.0.110.0000.00716.95
8.0.100.0030.00516.89
8.0.90.0030.00517.02
8.0.80.0160.00316.86
8.0.70.0050.00317.03
8.0.60.0050.00216.89
8.0.50.0000.00716.80
8.0.30.0120.00717.02
8.0.20.0080.01117.40
8.0.10.0060.00316.99
8.0.00.0060.01216.52
7.4.330.0000.00515.55
7.4.320.0040.00416.49
7.4.300.0030.00316.36
7.4.290.0040.00816.45
7.4.280.0030.00316.53
7.4.270.0030.00316.36
7.4.260.0070.00016.51
7.4.250.0000.00716.27
7.4.240.0000.00716.45
7.4.230.0030.00316.66
7.4.220.0120.00616.50
7.4.210.0030.01716.65
7.4.200.0000.00716.54
7.4.160.0140.00516.47
7.4.150.0140.01017.40
7.4.140.0080.01217.86
7.4.130.0030.01616.57
7.4.120.0110.01216.48
7.4.110.0060.01516.42
7.4.100.0110.00816.50
7.4.90.0090.00916.64
7.4.80.0120.00919.39
7.4.70.0100.00716.25
7.4.60.0130.00316.44
7.4.50.0030.00616.40
7.4.40.0060.01016.48
7.4.30.0090.00616.59
7.4.00.0080.00714.92
7.3.330.0050.00013.26
7.3.320.0000.00613.11
7.3.310.0000.00716.29
7.3.300.0040.00416.27
7.3.290.0070.00816.24
7.3.280.0070.00816.29
7.3.270.0040.01417.40
7.3.260.0110.00916.27
7.3.250.0130.00716.38
7.3.240.0110.00716.43
7.3.230.0140.00716.29
7.3.210.0100.00716.35
7.3.200.0100.00716.41
7.3.190.0130.00516.40
7.3.180.0120.00616.35
7.3.170.0060.01016.47
7.3.160.0090.00616.26
7.3.120.0070.01014.90
7.3.110.0050.01314.73
7.3.100.0020.01314.60
7.3.90.0030.01214.69
7.3.80.0080.00714.66
7.3.70.0030.00714.66
7.3.60.0020.00814.85
7.3.50.0050.00914.65
7.3.40.0060.00814.64
7.3.30.0080.01014.53
7.3.20.0060.00616.62
7.3.10.0060.00616.70
7.3.00.0060.00916.51
7.2.330.0100.01316.65
7.2.320.0170.00616.45
7.2.310.0140.00716.52
7.2.300.0030.01216.36
7.2.290.0100.00716.33
7.2.250.0060.01014.65
7.2.240.0050.01514.99
7.2.230.0110.00614.82
7.2.220.0080.00914.99
7.2.210.0080.00514.94
7.2.200.0040.00714.77
7.2.190.0030.01114.86
7.2.180.0050.01214.89
7.2.170.0030.01414.79
7.2.120.0000.01216.53
7.2.110.0030.01416.26
7.2.100.0090.00616.43
7.2.90.0060.01116.64
7.2.80.0100.00716.23
7.2.70.0030.01016.89
7.2.60.0050.01016.62
7.2.50.0120.00016.72
7.2.40.0040.00716.61
7.2.30.0100.00316.93
7.2.20.0030.00916.85
7.2.10.0030.01016.80
7.2.00.0070.00317.91
7.1.330.0040.01015.53
7.1.320.0100.00615.64
7.1.310.0060.00915.53
7.1.300.0090.00515.56
7.1.290.0080.00815.53
7.1.280.0110.00515.63
7.1.270.0060.00415.61
7.1.260.0060.01015.58
7.1.240.0120.00315.63
7.1.230.0030.01315.38
7.1.220.0070.00415.48
7.1.210.0000.01415.63
7.1.200.0050.01015.55
7.1.190.0040.00715.63
7.1.180.0030.00615.57
7.1.170.0030.00915.69
7.1.160.0090.00315.48
7.1.150.0070.00315.30
7.1.140.0100.00315.74
7.1.130.0100.00315.73
7.1.120.0040.01215.71
7.1.110.0030.00915.74
7.1.100.0050.00816.88
7.1.90.0000.01115.62
7.1.80.0060.00615.73
7.1.70.0110.00716.29
7.1.60.0130.01925.09
7.1.50.0220.01225.08
7.1.40.0150.01424.77
7.1.30.0150.01424.97
7.1.20.0230.00625.04
7.1.10.0100.00915.86
7.1.00.0100.00816.00
7.0.320.0030.01015.30
7.0.310.0040.00715.33
7.0.300.0030.01015.49
7.0.290.0060.00915.26
7.0.280.0060.01015.26
7.0.270.0000.01215.24
7.0.260.0070.00715.11
7.0.250.0040.00415.10
7.0.240.0030.01315.04
7.0.230.0090.00615.38
7.0.220.0040.01115.44
7.0.210.0070.00715.29
7.0.200.0060.01115.98
7.0.190.0060.00915.83
7.0.180.0060.01115.68
7.0.170.0070.00915.63
7.0.160.0030.01415.78
7.0.150.0060.01015.75
7.0.140.0050.01315.78
7.0.130.0040.01115.68
7.0.120.0060.01315.87
7.0.110.0050.01115.75
7.0.100.0030.01315.80
7.0.90.0070.01215.81
7.0.80.0080.00915.61
7.0.70.0080.00815.88
7.0.60.0050.01015.65
7.0.50.0070.00915.73
7.0.40.0110.00614.62
7.0.30.0090.00414.94
7.0.20.0100.00614.78
7.0.10.0060.01014.91
7.0.00.0060.01014.78
5.6.380.0000.01113.89

preferences:
49.31 ms | 401 KiB | 5 Q