3v4l.org

run code in 300+ PHP versions simultaneously
<?php $preparing_array = array ( "id" => 282072112, "type" => "page", "title" => "new page", "space" => array ( "key" => "BLA" ), "body" => array ( "storage" => array ( "value" => "<p>This is the updated text for the new page</p>", "representation" => "storage" ) ), "version" => array ( "number" => 2 ) ); echo json_encode($preparing_array, JSON_PRETTY_PRINT);

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.4.140.0180.00317.69
8.4.130.0040.00518.66
8.4.120.0140.00623.74
8.4.110.0090.00422.42
8.4.100.0150.00617.75
8.4.90.0120.00718.58
8.4.80.0140.00620.39
8.4.70.0160.00617.92
8.4.60.0100.01119.13
8.4.50.0140.00719.36
8.4.40.0090.00018.53
8.4.30.0000.01518.72
8.4.20.0040.01118.11
8.4.10.0040.01519.46
8.3.270.0130.00716.40
8.3.260.0140.00616.56
8.3.250.0090.00818.68
8.3.240.0090.00317.00
8.3.230.0090.01016.24
8.3.220.0040.00418.71
8.3.210.0110.00816.64
8.3.200.0050.00316.31
8.3.190.0080.01016.53
8.3.180.0100.00916.40
8.3.170.0050.00318.89
8.3.160.0160.00318.30
8.3.150.0120.00618.80
8.3.140.0150.00318.23
8.3.130.0080.00016.39
8.3.120.0090.00018.84
8.3.110.0040.00420.94
8.3.100.0040.00416.48
8.3.90.0040.00416.67
8.3.80.0060.00317.97
8.3.70.0070.01418.31
8.3.60.0100.01018.30
8.3.50.0070.01123.60
8.3.40.0120.00318.84
8.3.30.0150.00018.71
8.3.20.0040.00421.76
8.3.10.0000.00822.00
8.3.00.0050.00223.53
8.2.290.0070.00722.27
8.2.280.0080.00918.49
8.2.270.0040.01517.12
8.2.260.0040.00418.27
8.2.250.0070.00718.45
8.2.240.0060.00318.85
8.2.230.0080.00022.58
8.2.220.0070.00424.06
8.2.210.0040.00426.77
8.2.200.0080.00316.63
8.2.190.0130.00716.58
8.2.180.0120.00918.29
8.2.170.0110.00422.96
8.2.160.0070.00719.33
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00026.35
8.2.110.0060.00319.27
8.2.100.0040.00717.91
8.2.90.0030.00617.63
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0000.00817.48
8.2.50.0040.00418.05
8.2.40.0080.00318.09
8.2.30.0070.00017.93
8.2.20.0050.00218.05
8.2.10.0040.00420.97
8.2.00.0030.00319.32
8.1.330.0100.00921.87
8.1.320.0100.00817.73
8.1.310.0080.00018.43
8.1.300.0050.00315.84
8.1.290.0030.00618.88
8.1.280.0120.00325.92
8.1.270.0040.00422.04
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0070.00320.91
8.1.230.0110.00019.07
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00417.40
8.1.190.0030.00517.13
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0000.00718.72
8.1.150.0000.00818.72
8.1.140.0080.00018.72
8.1.130.0000.00820.07
8.1.120.0000.00717.32
8.1.110.0000.00717.33
8.1.100.0050.00317.32
8.1.90.0040.00417.38
8.1.80.0000.00717.44
8.1.70.0000.00717.25
8.1.60.0080.00017.53
8.1.50.0040.00417.34
8.1.40.0040.00417.49
8.1.30.0040.00417.55
8.1.20.0000.00917.51
8.1.10.0000.00717.41
8.1.00.0040.00417.32
8.0.300.0040.00419.59
8.0.290.0070.00016.63
8.0.280.0030.00318.38
8.0.270.0030.00318.07
8.0.260.0030.00320.06
8.0.250.0070.00016.92
8.0.240.0000.00616.82
8.0.230.0000.00716.88
8.0.220.0070.00016.73
8.0.210.0030.00316.67
8.0.200.0000.00716.83
8.0.190.0000.00716.83
8.0.180.0000.00816.80
8.0.170.0090.00016.86
8.0.160.0040.00416.91
8.0.150.0000.00716.82
8.0.140.0030.00316.73
8.0.130.0030.00313.20
8.0.120.0040.00416.80
8.0.110.0000.00916.88
8.0.100.0050.00216.70
8.0.90.0000.00816.69
8.0.80.0110.00416.74
8.0.70.0030.00516.75
8.0.60.0050.00316.76
8.0.50.0040.00416.67
8.0.30.0090.00916.82
8.0.20.0130.00617.28
8.0.10.0040.00416.91
8.0.00.0100.01316.43
7.4.330.0000.00415.55
7.4.320.0000.00716.32
7.4.300.0030.00316.43
7.4.290.0000.00716.46
7.4.280.0040.00416.45
7.4.270.0000.00616.50
7.4.260.0050.00013.26
7.4.250.0030.00316.46
7.4.240.0040.00416.51
7.4.230.0040.00416.62
7.4.220.0000.00716.18
7.4.210.0100.00716.40
7.4.200.0060.00016.41
7.4.130.0090.01116.43
7.4.120.0150.00916.41
7.4.110.0130.00616.55
7.4.100.0040.01516.52
7.4.90.0090.00916.39
7.4.80.0100.00719.39
7.4.70.0030.01216.35
7.4.60.0100.00616.32
7.4.50.0070.01016.33
7.4.40.0100.01316.39
7.4.30.0110.01416.52
7.4.20.0140.00916.29
7.4.10.0100.01316.17
7.4.00.0130.00916.57
7.3.330.0060.00316.04
7.3.320.0000.00512.88
7.3.310.0000.00816.20
7.3.300.0030.00316.12
7.3.290.0090.00916.10
7.3.280.0160.00016.15
7.3.260.0070.01116.42
7.3.240.0120.00516.25
7.3.230.0100.01316.34
7.3.210.0170.00016.26
7.3.200.0150.00916.36
7.3.190.0040.01216.13
7.3.180.0000.01516.44
7.3.170.0140.00716.43
7.3.160.0070.01416.36
7.3.150.0090.01316.36
7.3.140.0040.01916.48
7.3.130.0120.00916.01
7.3.120.0130.00816.19
7.3.110.0120.00916.37
7.3.100.0060.01516.01
7.3.90.0120.00916.23
7.3.80.0110.01116.08
7.3.70.0140.00516.11
7.3.60.0120.00615.98
7.3.50.0060.01216.18
7.3.40.0090.01216.21
7.3.30.0200.00416.33
7.3.20.0170.00716.21
7.3.10.0140.01416.30
7.3.00.0070.01116.11
7.2.330.0100.01316.64
7.2.320.0080.00816.24
7.2.310.0080.00816.56
7.2.300.0170.00016.64
7.2.290.0150.00616.57
7.2.280.0080.00716.53
7.2.270.0150.00816.43
7.2.260.0080.01316.26
7.2.250.0090.01216.21
7.2.240.0060.01316.31
7.2.230.0140.00716.60
7.2.220.0070.01316.25
7.2.210.0090.01516.17
7.2.200.0040.01516.50
7.2.190.0100.01016.52
7.2.180.0100.01316.36
7.2.170.0130.00816.49
7.2.160.0080.01416.39
7.2.150.0180.00816.41
7.2.140.0070.01716.36
7.2.130.0120.00916.56
7.2.120.0140.01216.52
7.2.110.0070.01416.32
7.2.100.0100.01716.45
7.2.90.0140.00616.49
7.2.80.0110.01116.44
7.2.70.0100.01016.16
7.2.60.0120.01016.48
7.2.50.0150.00916.47
7.2.40.0070.01716.48
7.2.30.0110.01116.60
7.2.20.0050.01816.21
7.2.10.0090.01416.45
7.2.00.0110.01016.40

preferences:
34.14 ms | 403 KiB | 5 Q