3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode( array ( 'id' => NULL, 'name' => 'Full survey', 'partnerid' => 1, 'questions' => array ( 0 => array ( 'id' => NULL, 'question' => 'What is the answer ?', 'questiontypeid' => 1, 'validtionrules' => 'Validation Rules', 'order' => 1, 'required' => true, 'defaultvalue' => array ( 0 => array ( 'id' => NULL, 'questionid' => NULL, 'answer' => 'This is the answer.', 'value' => 'That\'s a value.', 'order' => 1 ), ), 'isEditing' => true, ), 1 => array ( 'id' => NULL, 'question' => 'What is the second answer ?', 'questiontypeid' => 1, 'validtionrules' => 'Yet Another Validation Rules', 'order' => 2, 'required' => false, 'defaultvalue' => array ( 0 => array ( 'id' => NULL, 'questionid' => NULL, 'answer' => 'This is the second answer.', 'value' => 'That\'s another value.', 'order' => 1 ), ), 'isEditing' => true, ), ), 'access_token' => 'abc', ) );

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.39
8.3.50.0150.00422.06
8.3.40.0140.00718.71
8.3.30.0140.00019.14
8.3.20.0030.00619.91
8.3.10.0040.00421.73
8.3.00.0040.00419.13
8.2.180.0070.00718.29
8.2.170.0090.00622.96
8.2.160.0120.00420.43
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.38
8.2.110.0050.00519.21
8.2.100.0040.00817.50
8.2.90.0050.00219.27
8.2.80.0000.00917.97
8.2.70.0030.00617.50
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0080.00018.16
8.2.30.0040.00418.02
8.2.20.0040.00417.68
8.2.10.0040.00417.83
8.2.00.0000.00717.56
8.1.280.0140.00025.92
8.1.270.0050.00318.65
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0090.00022.05
8.1.230.0070.00417.52
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0000.00917.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0040.00420.43
8.1.160.0030.00522.02
8.1.150.0040.00418.72
8.1.140.0050.00217.38
8.1.130.0030.00317.65
8.1.120.0000.00717.38
8.1.110.0040.00417.40
8.1.100.0000.00717.39
8.1.90.0000.00717.34
8.1.80.0040.00417.32
8.1.70.0040.00417.25
8.1.60.0000.00817.33
8.1.50.0000.00817.39
8.1.40.0040.00417.30
8.1.30.0040.00417.47
8.1.20.0040.00417.49
8.1.10.0060.00317.31
8.1.00.0020.00517.37
8.0.300.0080.00018.77
8.0.290.0000.00816.63
8.0.280.0030.00318.35
8.0.270.0030.00317.21
8.0.260.0030.00317.23
8.0.250.0040.00416.92
8.0.240.0030.00816.78
8.0.230.0000.00816.83
8.0.220.0030.00316.77
8.0.210.0040.00416.80
8.0.200.0000.00716.86
8.0.190.0070.00416.74
8.0.180.0050.00316.83
8.0.170.0000.00716.84
8.0.160.0000.00716.78
8.0.150.0070.00016.73
8.0.140.0000.00716.75
8.0.130.0000.00713.24
8.0.120.0050.00316.78
8.0.110.0000.00816.88
8.0.100.0000.00816.84
8.0.90.0000.00716.91
8.0.80.0030.01216.70
8.0.70.0030.00516.80
8.0.60.0030.00516.73
8.0.50.0000.00716.75
8.0.30.0120.01316.97
8.0.20.0080.01117.40
8.0.10.0000.00716.95
8.0.00.0110.00916.58
7.4.330.0050.00015.03
7.4.320.0030.00316.47
7.4.300.0000.00716.55
7.4.290.0000.00716.38
7.4.280.0050.00216.27
7.4.270.0030.00316.48
7.4.260.0040.00416.39
7.4.250.0000.00716.34
7.4.240.0040.00316.34
7.4.230.0070.00016.56
7.4.220.0160.00616.25
7.4.210.0070.01416.46
7.4.200.0000.00716.48
7.4.160.0100.00616.38
7.4.150.0110.01117.40
7.4.140.0150.00917.86
7.4.130.0090.01116.49
7.4.120.0050.01216.41
7.4.110.0100.00716.45
7.4.100.0060.01116.41
7.4.90.0070.01016.56
7.4.80.0120.00819.39
7.4.70.0030.01316.46
7.4.60.0110.00616.38
7.4.50.0030.00316.45
7.4.40.0070.01016.39
7.4.30.0090.00816.56
7.4.00.0030.01314.91
7.3.330.0000.00612.87
7.3.320.0030.00913.06
7.3.310.0030.00316.20
7.3.300.0000.00616.14
7.3.290.0100.01016.18
7.3.280.0080.00816.13
7.3.270.0140.00417.40
7.3.260.0150.00316.44
7.3.250.0090.01116.37
7.3.240.0060.00916.11
7.3.230.0090.00916.39
7.3.210.0060.01016.32
7.3.200.0100.00619.39
7.3.190.0090.00616.25
7.3.180.0040.01116.36
7.3.170.0100.01316.30
7.3.160.0080.00816.47
7.3.120.0060.00914.73
7.3.110.0030.00614.40
7.3.100.0060.00914.54
7.3.90.0070.00314.75
7.3.80.0030.01314.62
7.3.70.0080.00814.46
7.3.60.0080.00614.35
7.3.50.0040.00814.77
7.3.40.0060.00614.77
7.3.30.0040.01114.54
7.3.20.0030.01016.61
7.3.10.0040.00716.59
7.3.00.0060.00816.67
7.2.330.0060.01216.54
7.2.320.0150.00316.49
7.2.310.0130.00316.63
7.2.300.0130.00316.37
7.2.290.0110.01116.46
7.2.240.0060.00915.08
7.2.230.0030.00714.91
7.2.220.0070.00714.73
7.2.210.0090.00614.66
7.2.200.0140.00014.45
7.2.190.0090.00614.73
7.2.180.0060.00314.89
7.2.170.0080.00414.56
7.2.160.0030.01414.77
7.2.150.0000.01416.83
7.2.140.0120.00316.76
7.2.130.0080.00316.48
7.2.120.0030.01316.69
7.2.110.0060.00916.58
7.2.100.0040.01116.78
7.2.90.0120.00316.62
7.2.80.0070.00416.88
7.2.70.0030.01016.93
7.2.60.0050.01016.88
7.2.50.0070.01016.63
7.2.40.0080.00816.71
7.2.30.0070.00716.39
7.2.20.0110.00016.44
7.2.10.0100.00316.95
7.2.00.0040.00817.86
7.1.330.0090.00315.51
7.1.320.0070.00715.69
7.1.310.0090.00615.71
7.1.300.0090.00615.64
7.1.290.0030.01415.46
7.1.280.0030.01015.79
7.1.270.0070.01115.67
7.1.260.0040.01115.70
7.1.250.0080.00515.43
7.1.200.0110.00015.21
7.1.100.0050.00518.09
7.1.70.0050.00217.11
7.1.60.0100.01319.50
7.1.50.0060.01516.60
7.1.00.0030.07722.58
7.0.200.0540.00714.54
7.0.140.0070.07022.21
7.0.90.0500.07719.87
7.0.80.0630.07319.91
7.0.70.0570.05319.92
7.0.60.0430.05319.90
7.0.50.0100.07320.23
7.0.40.0030.04720.13
7.0.30.0130.07720.14
7.0.20.0100.08320.09
7.0.10.0100.04720.18
7.0.00.0070.08320.14
5.6.280.0070.07020.89
5.6.240.0130.07720.72
5.6.230.0100.07320.71
5.6.220.0130.07720.67
5.6.210.0030.08720.59
5.6.200.0030.05321.01
5.6.190.0100.04021.17
5.6.180.0070.05721.04
5.6.170.0100.08020.93
5.6.160.0130.05721.02
5.6.150.0130.07720.98
5.6.140.0000.05721.13
5.6.130.0070.06720.95
5.6.120.0070.08721.13
5.6.110.0130.07720.99
5.6.100.0170.08721.03
5.6.90.0030.08321.07
5.6.80.0000.08720.51
5.6.70.0030.08020.54
5.6.60.0100.07020.41
5.6.50.0100.07720.46
5.6.40.0130.07320.37
5.6.30.0070.08020.46
5.6.20.0100.07720.38
5.6.10.0130.06720.45
5.6.00.0100.07320.28
5.5.380.0170.04720.54
5.5.370.0030.05020.38
5.5.360.0030.08320.35
5.5.350.0030.08720.42
5.5.340.0100.05020.86
5.5.330.0130.03320.87
5.5.320.0070.06020.78
5.5.310.0100.08020.90
5.5.300.0130.07020.79
5.5.290.0170.05720.93
5.5.280.0070.08020.90
5.5.270.0100.08320.82
5.5.260.0070.08320.76
5.5.250.0070.07320.68
5.5.240.0100.07020.14
5.5.230.0030.08320.19
5.5.220.0100.07320.13
5.5.210.0100.06020.14
5.5.200.0000.04720.18
5.5.190.0100.07020.15
5.5.180.0130.07720.18
5.5.160.0070.05320.16
5.5.150.0100.08020.28
5.5.140.0100.07320.23
5.5.130.0100.07020.27
5.5.120.0130.05020.08
5.5.110.0070.06020.26
5.5.100.0100.04320.11
5.5.90.0030.06720.04
5.5.80.0200.06720.08
5.5.70.0000.08320.02
5.5.60.0070.04020.06
5.5.50.0100.06320.08
5.5.40.0100.07020.06
5.5.30.0030.06719.95
5.5.20.0030.05720.09
5.5.10.0130.07020.02
5.5.00.0070.08019.96
5.4.450.0130.07019.30
5.4.440.0100.07719.30
5.4.430.0070.05719.39
5.4.420.0030.06019.46
5.4.410.0100.06719.14
5.4.400.0070.08319.05
5.4.390.0100.05718.81
5.4.380.0100.07019.05
5.4.370.0070.07318.98
5.4.360.0100.05019.12
5.4.350.0130.07018.95
5.4.340.0100.07318.90
5.4.320.0100.07718.92
5.4.310.0170.06319.10
5.4.300.0130.08319.07
5.4.290.0070.04319.05
5.4.280.0100.07019.04
5.4.270.0100.07319.04
5.4.260.0070.07318.78
5.4.250.0170.07019.16
5.4.240.0100.06318.89
5.4.230.0070.07019.12
5.4.220.0170.06719.02
5.4.210.0000.05019.02
5.4.200.0100.05018.99
5.4.190.0070.04019.09
5.4.180.0070.07019.02
5.4.170.0070.06719.08
5.4.160.0070.04018.94
5.4.150.0070.04019.07
5.4.140.0030.04316.24
5.4.130.0100.03316.23
5.4.120.0070.07316.01
5.4.110.0070.06016.33
5.4.100.0100.07316.23
5.4.90.0170.06016.20
5.4.80.0100.05316.31
5.4.70.0000.04316.31
5.4.60.0070.06716.28
5.4.50.0070.04016.18
5.4.40.0130.06316.35
5.4.30.0130.06316.30
5.4.20.0070.06316.35
5.4.10.0070.04316.23
5.4.00.0070.04315.52
5.3.290.0100.05714.49
5.3.280.0100.07014.57
5.3.270.0170.06014.56
5.3.260.0030.05014.59
5.3.250.0030.07714.56
5.3.240.0000.08014.61
5.3.230.0030.07714.46
5.3.220.0030.04314.52
5.3.210.0130.07014.39
5.3.200.0030.04314.50
5.3.190.0070.04314.40
5.3.180.0030.06714.54
5.3.170.0130.07014.39
5.3.160.0100.04314.42
5.3.150.0000.06714.50
5.3.140.0100.05314.42
5.3.130.0070.04014.39
5.3.120.0070.07714.41
5.3.110.0030.04314.48
5.3.100.0070.05314.05
5.3.90.0070.04014.01
5.3.80.0030.07313.88
5.3.70.0030.06713.99
5.3.60.0030.07713.91
5.3.50.0000.04713.94
5.3.40.0000.08013.91
5.3.30.0030.07013.92
5.3.20.0130.04013.65
5.3.10.0100.06313.65
5.3.00.0070.07313.41
5.2.170.0030.03310.96
5.2.160.0130.05011.07
5.2.150.0030.03310.94
5.2.140.0000.03710.95
5.2.130.0130.05310.92
5.2.120.0130.05310.97
5.2.110.0000.04311.18
5.2.100.0030.04011.05
5.2.90.0030.03310.90
5.2.80.0030.03711.10
5.2.70.0030.03011.17
5.2.60.0130.05010.87
5.2.50.0070.06011.02
5.2.40.0070.03711.01
5.2.30.0070.06710.90
5.2.20.0070.06310.80
5.2.10.0030.06010.88
5.2.00.0030.05010.79
5.1.60.0100.04310.04
5.1.50.0030.05310.02
5.1.40.0070.0509.86
5.1.30.0000.04710.39
5.1.20.0000.06010.41
5.1.10.0070.04310.11
5.1.00.0070.03310.09
5.0.50.0000.0408.63
5.0.40.0000.0438.44
5.0.30.0070.0308.27
5.0.20.0130.0338.29
5.0.10.0100.0378.26
5.0.00.0030.0338.21
4.4.90.0030.0177.10
4.4.80.0030.0337.10
4.4.70.0030.0177.10
4.4.60.0000.0237.10
4.4.50.0000.0237.10
4.4.40.0000.0507.10
4.4.30.0000.0407.10
4.4.20.0030.0337.10
4.4.10.0030.0337.10
4.4.00.0070.0477.10
4.3.110.0030.0237.10
4.3.100.0070.0337.10
4.3.90.0000.0237.10
4.3.80.0000.0477.10
4.3.70.0030.0237.10
4.3.60.0030.0207.10
4.3.50.0000.0307.10
4.3.40.0000.0407.10
4.3.30.0030.0237.10
4.3.20.0000.0277.10
4.3.10.0000.0237.10
4.3.00.0000.0337.10

preferences:
46.2 ms | 401 KiB | 5 Q