3v4l.org

run code in 300+ PHP versions simultaneously
<?php $serialized_data = serialize(array('http://www.example.com/image1.jpg', 'http://www.example.com/image2.jpg', 'http://www.example.com/image3.jpg', 'http://www.example.com/image4.jpg')); echo $serialized_data . '<br>'; $serialized_data = serialize(array('docs' => array(array('property_imgurl' => 'http://www.example.com/image1.jpg'), array('property_imgurl' => 'http://www.example.com/image2.jpg'), array('property_imgurl' => 'http://www.example.com/image3.jpg'), array('property_imgurl' => 'http://www.example.com/image4.jpg')))); echo $serialized_data . '<br>'; ?>

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.01316.38
8.3.50.0100.00822.76
8.3.40.0040.01118.45
8.3.30.0040.01119.10
8.3.20.0040.00420.09
8.3.10.0030.00523.66
8.3.00.0030.00619.25
8.2.180.0120.00918.42
8.2.170.0070.01122.96
8.2.160.0080.00820.28
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0100.00018.98
8.2.110.0000.00920.97
8.2.100.0070.00417.72
8.2.90.0040.00417.97
8.2.80.0040.00417.97
8.2.70.0090.00017.60
8.2.60.0030.00517.92
8.2.50.0000.00818.07
8.2.40.0050.00319.88
8.2.30.0030.00618.00
8.2.20.0080.00017.74
8.2.10.0070.00017.99
8.2.00.0000.00717.68
8.1.280.0100.00325.92
8.1.270.0040.00423.74
8.1.260.0030.00326.35
8.1.250.0050.00228.09
8.1.240.0030.00722.53
8.1.230.0070.00420.85
8.1.220.0080.00017.74
8.1.210.0030.00618.99
8.1.200.0040.00717.23
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0040.00418.51
8.1.160.0000.00821.85
8.1.150.0000.00718.84
8.1.140.0040.00417.43
8.1.130.0070.00017.84
8.1.120.0040.00417.46
8.1.110.0070.00017.29
8.1.100.0040.00417.38
8.1.90.0000.00717.25
8.1.80.0030.00517.39
8.1.70.0030.00317.36
8.1.60.0000.00817.41
8.1.50.0080.00017.46
8.1.40.0040.00417.48
8.1.30.0040.00417.45
8.1.20.0020.00517.43
8.1.10.0020.00517.48
8.1.00.0020.00517.44
8.0.300.0000.00719.61
8.0.290.0040.00416.63
8.0.280.0040.00318.44
8.0.270.0040.00417.30
8.0.260.0070.00017.19
8.0.250.0000.00716.95
8.0.240.0000.00717.02
8.0.230.0000.00716.97
8.0.220.0030.00316.92
8.0.210.0000.00716.89
8.0.200.0030.00316.98
8.0.190.0030.00316.93
8.0.180.0000.00716.91
8.0.170.0040.00416.80
8.0.160.0030.00316.77
8.0.150.0000.00716.80
8.0.140.0050.00216.71
8.0.130.0060.00013.30
8.0.120.0000.00716.89
8.0.110.0050.00316.78
8.0.100.0000.00916.76
8.0.90.0050.00316.69
8.0.80.0140.00716.83
8.0.70.0040.00416.93
8.0.60.0040.00416.71
8.0.50.0040.00416.75
8.0.30.0120.00717.09
8.0.20.0140.00917.40
8.0.10.0050.00316.84
8.0.00.0080.01316.67
7.4.330.0000.00515.00
7.4.320.0030.00316.46
7.4.300.0090.00016.58
7.4.290.0000.00716.46
7.4.280.0040.00416.50
7.4.270.0070.00016.43
7.4.260.0040.00416.56
7.4.250.0040.00416.53
7.4.240.0030.00316.49
7.4.230.0040.00416.44
7.4.220.0160.00316.56
7.4.210.0030.01116.40
7.4.200.0030.00316.55
7.4.160.0040.01116.25
7.4.150.0110.01117.40
7.4.140.0060.01017.86
7.4.130.0080.01016.34
7.4.120.0100.00816.49
7.4.110.0120.01116.51
7.4.100.0140.00316.60
7.4.90.0100.00716.24
7.4.80.0070.01019.39
7.4.70.0110.00616.56
7.4.60.0030.01216.41
7.4.50.0030.00516.50
7.4.40.0090.00916.52
7.4.30.0070.01016.65
7.4.00.0130.00314.84
7.3.330.0060.00013.17
7.3.320.0000.00513.09
7.3.310.0030.00316.23
7.3.300.0000.00616.24
7.3.290.0090.01116.25
7.3.280.0100.00616.27
7.3.270.0100.01017.40
7.3.260.0140.00316.25
7.3.250.0100.00916.24
7.3.240.0070.01016.53
7.3.230.0100.00616.39
7.3.210.0100.01316.39
7.3.200.0070.01019.39
7.3.190.0120.00916.20
7.3.180.0120.00416.51
7.3.170.0030.01216.34
7.3.160.0060.00916.43
7.2.330.0160.00816.62
7.2.320.0070.01016.76
7.2.310.0130.00916.35
7.2.300.0090.00816.74
7.2.290.0090.00916.70
7.2.60.0060.00816.99
7.2.50.0110.00416.96
7.1.200.0090.00315.66
7.1.70.0070.00317.22
7.1.60.0070.01719.46
7.1.50.0060.00616.58
7.1.00.0070.07322.29
7.0.200.0040.00416.43
7.0.140.0070.07322.00
7.0.60.0130.07719.91
7.0.50.0070.08317.81
7.0.40.0030.08019.98
7.0.30.0200.06320.17
7.0.20.0200.05020.18
7.0.10.0270.07020.13
7.0.00.0030.05320.11
5.6.280.0130.06320.86
5.6.210.0070.08320.50
5.6.200.0030.04718.09
5.6.190.0070.04320.61
5.6.180.0300.08320.64
5.6.170.0300.06720.38
5.6.160.0030.04020.41
5.6.150.0030.04718.15
5.6.140.0100.05718.19
5.6.130.0030.05718.11
5.6.120.0030.05020.97
5.6.110.0100.07721.01
5.6.100.0100.07721.10
5.6.90.0170.06321.07
5.6.80.0100.06320.50
5.6.70.3600.03020.41
5.5.350.0100.07720.29
5.5.340.0100.07017.93
5.5.330.0030.05320.38
5.5.320.0200.04720.27
5.5.310.0370.04320.41
5.5.300.0100.07317.96
5.5.290.0030.08317.95
5.5.280.0000.04320.80
5.5.270.0100.05720.88
5.5.260.0170.07720.86
5.5.250.0030.09320.57
5.5.240.0370.06720.23
5.4.450.0100.04319.57
5.4.440.0100.04719.57
5.4.430.0030.03719.54
5.4.420.0030.03719.13
5.4.410.0100.04019.28
5.4.400.0070.03318.77
5.4.390.0100.03719.10
5.4.380.0530.04018.67
5.4.370.0530.06318.64
5.4.360.0330.05718.76
5.4.350.0300.05718.73
5.4.340.0530.06318.73
5.4.320.0090.03812.46
5.4.310.0070.03912.45
5.4.300.0090.04112.45
5.4.290.0120.04312.45
5.4.280.0060.03712.35
5.4.270.0120.05012.35
5.4.260.0100.03812.35
5.4.250.0110.03712.35
5.4.240.0080.03412.35
5.4.230.0080.03612.34
5.4.220.0080.03712.34
5.4.210.0060.04212.34
5.4.200.0080.04112.34
5.4.190.0100.03212.34
5.4.180.0090.03312.34
5.4.170.0070.04812.35
5.4.160.0080.04012.34
5.4.150.0100.04212.34
5.4.140.0090.03412.03
5.4.130.0100.03712.01
5.4.120.0050.03611.97
5.4.110.0090.04111.96
5.4.100.0120.03911.97
5.4.90.0050.03811.96
5.4.80.0050.03811.97
5.4.70.0070.03811.96
5.4.60.0090.03811.96
5.4.50.0110.04211.96
5.4.40.0100.04411.95
5.4.30.0070.03911.95
5.4.20.0080.03211.95
5.4.10.0100.03011.95
5.4.00.0030.03811.44
5.3.290.0100.03612.80
5.3.280.0050.04512.70
5.3.270.0090.04312.73
5.3.260.0090.04112.72
5.3.250.0070.03712.72
5.3.240.0130.03212.72
5.3.230.0050.04112.71
5.3.220.0050.03812.68
5.3.210.0080.04012.68
5.3.200.0030.04012.68
5.3.190.0060.03712.68
5.3.180.0090.03312.67
5.3.170.0050.03712.66
5.3.160.0070.04312.67
5.3.150.0060.03712.68
5.3.140.0050.04212.66
5.3.130.0060.04412.66
5.3.120.0090.03812.66
5.3.110.0040.03912.66
5.3.100.0070.04112.12
5.3.90.0070.03712.08
5.3.80.0060.03712.08
5.3.70.0070.04012.08
5.3.60.0100.03312.06
5.3.50.0100.04212.00
5.3.40.0180.03712.00
5.3.30.0110.03911.95
5.3.20.0060.03711.72
5.3.10.0100.03111.69
5.3.00.0080.03811.68
5.2.170.0030.0329.18
5.2.160.0050.0299.18
5.2.150.0060.0299.18
5.2.140.0050.0349.18
5.2.130.0090.0339.14
5.2.120.0070.0269.14
5.2.110.0070.0349.14
5.2.100.0070.0309.14
5.2.90.0070.0389.14
5.2.80.0010.0349.13
5.2.70.0060.0299.14
5.2.60.0040.0339.08
5.2.50.0080.0279.05
5.2.40.0080.0269.03
5.2.30.0060.0289.01
5.2.20.0080.0269.00
5.2.10.0080.0258.92
5.2.00.0020.0328.78
5.1.60.0040.0268.06
5.1.50.0050.0298.06
5.1.40.0040.0288.04
5.1.30.0030.0318.39
5.1.20.0090.0338.41
5.1.10.0080.0258.14
5.1.00.0040.0268.14
5.0.50.0010.0236.61
5.0.40.0020.0216.48
5.0.30.0050.0296.29
5.0.20.0040.0196.26
5.0.10.0050.0196.24
5.0.00.0030.0326.23
4.4.90.0030.0154.78
4.4.80.0030.0164.75
4.4.70.0030.0174.75
4.4.60.0040.0214.75
4.4.50.0040.0184.77
4.4.40.0020.0264.71
4.4.30.0040.0234.76
4.4.20.0020.0214.84
4.4.10.0040.0184.85
4.4.00.0060.0224.75
4.3.110.0050.0224.67
4.3.100.0030.0184.66
4.3.90.0040.0204.63
4.3.80.0030.0304.59
4.3.70.0030.0254.63
4.3.60.0060.0244.63
4.3.50.0040.0154.63
4.3.40.0040.0304.54
4.3.30.0010.0193.28
4.3.20.0040.0243.26
4.3.10.0030.0223.22
4.3.00.0000.02014.87

preferences:
44.74 ms | 401 KiB | 5 Q