3v4l.org

run code in 300+ PHP versions simultaneously
<?php $media = (json_decode('{"headerImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Satellites_SLS_Top_Shot.jpg","alt":"Satellites"},"heroImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Satellites_SLS_Hero.jpg","alt":"Satellites"},"sharedSpecsImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Sats","alt":"Satellites"},"bottomImage":{"type":"image","src":"\/assets\/media\/images\/groups\/SLS_Install.jpg","alt":"Satellites"}} ')); $media->sliderImage = [ 'type' => 'image', 'src' => 'Sat_Icon.png', 'alt' => 'Outdoor satellite speakers in three sizes' ]; echo json_encode( $media );

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.0090.00618.43
8.3.50.0290.00716.34
8.3.40.0100.01018.88
8.3.30.0000.01518.67
8.3.20.0080.00018.77
8.3.10.0060.00320.36
8.3.00.0040.00419.38
8.2.180.0140.00716.35
8.2.170.0040.01122.96
8.2.160.0130.00022.18
8.2.150.0100.01024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0060.00319.66
8.2.110.0090.00020.89
8.2.100.0030.00917.72
8.2.90.0030.00620.96
8.2.80.0000.00817.93
8.2.70.0000.00817.63
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0000.00919.82
8.2.30.0030.00618.11
8.2.20.0030.00617.68
8.2.10.0060.00317.69
8.2.00.0020.00517.56
8.1.280.0140.00725.92
8.1.270.0040.00423.99
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00422.42
8.1.230.0100.00020.87
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0000.01116.98
8.1.190.0050.00317.41
8.1.180.0060.00318.10
8.1.170.0040.00418.77
8.1.160.0000.00718.84
8.1.150.0070.00018.64
8.1.140.0040.00417.42
8.1.130.0000.00717.87
8.1.120.0000.00717.25
8.1.110.0070.00017.30
8.1.100.0000.00717.41
8.1.90.0000.00717.46
8.1.80.0000.00717.31
8.1.70.0000.00617.25
8.1.60.0000.00717.58
8.1.50.0030.00617.48
8.1.40.0040.00417.43
8.1.30.0070.00017.59
8.1.20.0000.00817.59
8.1.10.0000.00717.41
8.1.00.0040.00417.46
8.0.300.0040.00419.88
8.0.290.0050.00316.63
8.0.280.0000.00718.45
8.0.270.0070.00017.17
8.0.260.0030.00318.53
8.0.250.0050.00317.03
8.0.240.0030.00616.90
8.0.230.0030.00316.91
8.0.220.0000.00716.84
8.0.210.0040.00416.79
8.0.200.0040.00416.83
8.0.190.0000.00716.94
8.0.180.0040.00416.88
8.0.170.0030.00616.86
8.0.160.0070.00016.77
8.0.150.0030.00616.78
8.0.140.0090.00016.75
8.0.130.0050.00013.30
8.0.120.0050.00316.75
8.0.110.0030.00516.91
8.0.100.0040.00416.70
8.0.90.0000.00716.70
8.0.80.0030.01416.90
8.0.70.0050.00216.92
8.0.60.0000.00816.79
8.0.50.0070.00016.74
8.0.30.0130.00517.04
8.0.20.0120.01117.40
8.0.10.0080.00017.01
8.0.00.0090.00916.69
7.4.330.0030.00313.43
7.4.320.0030.00316.40
7.4.300.0070.00016.35
7.4.290.0070.00016.34
7.4.280.0030.00516.54
7.4.270.0070.00016.45
7.4.260.0030.00313.23
7.4.250.0060.00316.39
7.4.240.0000.00816.47
7.4.230.0030.00516.55
7.4.220.0030.02016.50
7.4.210.0100.00616.57
7.4.200.0050.00516.55
7.4.190.0030.00316.41
7.4.160.0090.00616.60
7.4.150.0040.01417.40
7.4.140.0130.00917.12
7.4.130.0110.00816.35
7.4.120.0120.00616.45
7.4.110.0090.01216.38
7.4.100.0130.00316.40
7.4.90.0060.01116.38
7.4.80.0080.00818.80
7.4.70.0140.00316.46
7.4.60.0040.01416.41
7.4.50.0040.00416.47
7.4.40.0060.00722.27
7.4.30.0130.00316.60
7.4.00.0100.00714.85
7.3.330.0000.00713.11
7.3.320.0000.00612.92
7.3.310.0030.00316.05
7.3.300.0030.00316.13
7.3.290.0130.00016.23
7.3.280.0090.00616.23
7.3.270.0060.01317.40
7.3.260.0060.01118.24
7.3.250.0090.00916.22
7.3.240.0100.00616.52
7.3.230.0120.00916.54
7.3.210.0100.00716.43
7.3.200.0100.01319.39
7.3.190.0150.01716.43
7.3.180.0080.00816.57
7.3.170.0060.01616.45
7.3.160.0130.00316.55
7.3.120.0100.00314.76
7.3.10.0060.00616.42
7.3.00.0000.00916.59
7.2.330.0090.01216.71
7.2.320.0130.00416.70
7.2.310.0120.00816.59
7.2.300.0100.01016.50
7.2.290.0080.00916.68
7.2.130.0060.00616.98
7.2.120.0070.00316.94
7.2.110.0040.00716.67
7.2.100.0030.00716.96
7.2.90.0060.00617.01
7.2.80.0100.00016.92
7.2.70.0040.00416.81
7.2.60.0030.00616.68
7.2.50.0060.00617.07
7.2.40.0080.00417.02
7.2.30.0100.00717.00
7.2.20.0000.01016.86
7.2.10.0100.00016.79
7.2.00.0080.00818.16
7.1.250.0060.00615.55
7.1.100.0040.01118.20
7.1.70.0040.00417.09
7.1.60.0040.01116.95
7.1.50.0070.00716.56
7.1.40.0070.00716.41
7.1.30.0030.00916.68
7.1.20.0080.00416.71
7.1.10.0030.00616.59
7.1.00.0000.01516.68
7.0.200.0050.00316.63
7.0.190.0030.01016.64
7.0.180.0040.00416.18
7.0.170.0000.00716.24
7.0.160.0040.00416.45
7.0.150.0080.00016.11
7.0.140.0040.00815.99
7.0.130.0080.00316.38
7.0.120.0000.01316.76
7.0.110.0040.01216.34
7.0.100.0130.01016.33
7.0.90.0000.00916.32
7.0.80.0080.00316.29
7.0.70.0090.00316.13
7.0.60.0070.00316.05
7.0.50.0020.01216.23
7.0.40.0080.00415.93
7.0.30.0000.01215.93
7.0.20.0000.00715.93
7.0.10.0050.00315.93
7.0.00.0080.00015.93
5.6.300.0030.04120.67
5.6.290.0030.05620.92
5.6.280.0030.04420.98
5.6.270.0000.04520.98
5.6.260.0030.04120.80
5.6.250.0130.04721.02
5.6.240.0290.03920.96
5.6.230.0030.05220.89
5.6.220.0110.03920.96
5.6.210.0030.06221.03
5.6.200.0120.04720.83
5.6.190.0070.05720.79
5.6.180.0100.03820.82
5.6.170.0030.04321.02
5.6.160.0030.04321.02
5.6.150.0030.04320.79
5.6.140.0070.03821.02
5.6.130.0100.03520.85
5.6.120.0100.05620.92
5.6.110.0000.04621.01
5.6.100.0000.06121.02
5.6.90.0140.03420.92
5.6.80.0090.05620.34
5.6.70.0140.03120.20
5.6.60.0070.04020.36
5.6.50.0120.03320.25
5.6.40.0040.04020.35
5.6.30.0030.05320.21
5.6.20.0030.04720.09
5.6.10.0030.04020.25
5.6.00.0030.04420.20
5.5.380.0160.03317.48
5.5.370.0070.03817.58
5.5.360.0070.05317.45
5.5.350.0100.04417.46
5.5.340.0040.04218.02
5.5.330.0030.04018.03
5.5.320.0070.04818.03
5.5.310.0070.04317.96
5.5.300.0030.04517.94
5.5.290.0000.05317.86
5.5.280.0000.05418.07
5.5.270.0130.08318.02
5.5.260.0000.04318.02
5.5.250.0070.04817.78
5.5.240.0000.06117.41
5.5.230.0030.04317.41
5.5.220.0090.03617.44
5.5.210.0030.04917.24
5.5.200.0120.04317.24
5.5.190.0030.04717.09
5.5.180.0000.04917.46
5.5.160.0000.08117.09
5.5.150.0070.06417.37
5.5.140.0100.03217.38
5.5.130.0070.06717.18
5.5.120.0030.05917.40
5.5.110.0040.03917.40
5.5.100.0070.03416.96
5.5.90.0070.03617.00
5.5.80.0000.04517.28
5.5.70.0030.03917.09
5.5.60.0030.04117.36
5.5.50.0060.03517.21
5.5.40.0090.03117.32
5.5.30.0000.04217.26
5.5.20.0030.04717.32
5.5.10.0030.04317.21
5.5.00.0070.07617.07
5.4.450.0000.04319.39
5.4.440.0070.04919.18
5.4.430.0100.08119.38
5.4.420.0100.05619.46
5.4.410.0070.07319.24
5.4.400.0030.04119.03
5.4.390.0030.04519.02
5.4.380.0030.03818.97
5.4.370.0090.03218.93
5.4.360.0000.04319.14
5.4.350.0070.03619.19
5.4.340.0060.03518.98
5.4.320.0030.07219.14
5.4.310.0030.03818.98
5.4.300.0000.05419.01
5.4.290.0100.03619.06
5.4.280.0030.06719.16
5.4.270.0000.04019.06
5.4.260.0070.03419.01
5.4.250.0060.03418.82
5.4.240.0060.03819.13
5.4.230.0070.03319.16
5.4.220.0070.03819.01
5.4.210.0100.03219.07
5.4.200.0030.03819.06
5.4.190.0030.04618.97
5.4.180.0030.05418.98
5.4.170.0030.06118.96
5.4.160.0070.07218.90
5.4.150.0030.03718.96
5.4.140.0030.03716.39
5.4.130.0030.03916.47
5.4.120.0030.07016.34
5.4.110.0030.03516.50
5.4.100.0000.04016.62
5.4.90.0100.06916.64
5.4.80.0070.05116.48
5.4.70.0030.07316.39
5.4.60.0000.04216.59
5.4.50.0000.03916.30
5.4.40.0030.08116.61
5.4.30.0000.07216.34
5.4.20.0070.04716.31
5.4.10.0030.04316.54
5.4.00.0070.04015.96
5.3.290.0030.08115.93
5.3.280.0060.05215.93
5.3.270.0030.03615.93
5.3.260.0100.04015.93
5.3.250.0060.03215.93
5.3.240.0070.05715.93
5.3.230.0000.06015.93
5.3.220.0030.03715.93
5.3.210.0030.04015.93
5.3.200.0040.05615.93
5.3.190.0000.04515.93
5.3.180.0060.04815.93
5.3.170.0000.06915.93
5.3.160.0110.04715.93
5.3.150.0000.04015.93
5.3.140.0120.03015.93
5.3.130.0070.07715.93
5.3.120.0000.05115.93
5.3.110.0100.04015.93
5.3.100.0070.04115.93
5.3.90.0030.06515.93
5.3.80.0140.03515.93
5.3.70.0150.05115.93
5.3.60.0030.04415.93
5.3.50.0070.05915.93
5.3.40.0030.04815.93
5.3.30.0070.03515.93
5.3.20.0030.04415.93
5.3.10.0130.04615.93
5.3.00.0030.04315.93
5.2.170.0000.03715.93
5.2.160.0000.03515.93
5.2.150.0100.02915.93
5.2.140.0000.03415.93
5.2.130.0030.03415.93
5.2.120.0060.02815.93
5.2.110.0100.05315.93
5.2.100.0030.04015.93
5.2.90.0000.04015.93
5.2.80.0000.04315.93
5.2.70.0030.03015.93
5.2.60.0030.06015.93
5.2.50.0040.03915.93
5.2.40.0000.03815.93
5.2.30.0100.02715.93
5.2.20.0100.02615.93
5.2.10.0040.02915.93
5.2.00.0000.04015.93
5.1.60.0000.03515.93
5.1.50.0030.03815.93
5.1.40.0000.02715.93
5.1.30.0040.05015.93
5.1.20.0000.03515.93
5.1.10.0030.02715.93
5.1.00.0060.03415.93
5.0.50.0030.01915.93
5.0.40.0000.02115.93
5.0.30.0000.03615.93
5.0.20.0030.01815.93
5.0.10.0030.02015.93
5.0.00.0030.06315.93
4.4.90.0030.03315.93
4.4.80.0000.01715.93
4.4.70.0030.01415.93
4.4.60.0060.01115.93
4.4.50.0060.02615.93
4.4.40.0000.02815.93
4.4.30.0000.02215.93
4.4.20.0070.02015.93
4.4.10.0070.01015.93
4.4.00.0030.05215.93
4.3.110.0000.01915.93
4.3.100.0000.01715.93
4.3.90.0000.02815.93
4.3.80.0030.02515.93
4.3.70.0000.01615.93
4.3.60.0030.03415.93
4.3.50.0030.02615.93
4.3.40.0060.01915.93
4.3.30.0030.02015.93
4.3.20.0000.01715.93
4.3.10.0030.01415.93
4.3.00.0000.01815.93

preferences:
58.31 ms | 401 KiB | 5 Q